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> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
