Thanks very much, Jeremy Pointer! Your kindness is immeasurable.

On 3월30일, 오후2시44분, Jeremy Pointer <[EMAIL PROTECTED]> wrote:
> You Can't use <script ..... src=....> and include js betweeen the script
> tags,
> i.e. you need this
>
> <html>
> <head>
> <title>Test</title>
> <script type="text/javascript" src="app/webroot/js/prototype.js"></script>
>  <script type="text/javascript">
>  function execute() {
>     var item = $('sample');
>     Element.update(item, "Hello!");
>  }
> </script>
> </head>
>
> <body>
> <div id="sample" style="background-color:red;">element</div>
> <div id="sample2" style="background-color:green">element2</div>
> <button onclick="execute()">Click</button>
> </body>
> </html>
>
>
>
>
>
> skyblueink wrote:
> > I know this is not a CakePHP problem, but related to it. The simple
> > example below does not work in IE and FireFox. I don't why, but the
> > PHPEd debugger gives a messge "OBJECT is required". I have some
> > experiences in using prototype in CakePHP, but I'm trying to go more
> > deep into prototype by learning itself.
>
> > <html>
> > <head>
> > <title>Test</title>
> > <script type="text/javascript" src="http://localhost/test/
> > prototype.js">
> >  function execute() {
> >     var item = $('sample');
> >     Element.update(item, "Hello!");
> >  }
> > </script>
> > </head>
>
> > <body>
> > <div id="sample" style="background-color:red;">element</div>
> > <div id="sample2" style="background-color:green">element2</div>
> > <button onclick="execute()">Click</button>
> > </body>
> > </html>
>
> --
> */Jeremy Pointer/*
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> MSN: [EMAIL PROTECTED]
> My status <skype:jermworm?call>
> Get Skype <http://www.skype.com/go/download> and call me for free.
>
>  jerm.vcf
> 1K다운로드- 따온 텍스트 숨기기 -
>
> - 따온 텍스트 보기 -


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to