11-09-2007, 12:29 PM
|
#3 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,112
Thanks: 3
|
It really is very easy and when you get comfortable with the structure of JavaScript and frameworks like Prototype you can produce code like the following (which is functionally the same as Karl's above).
javascript Code:
Event.observe(window, 'load', function() { $$("#myContainer > div").invoke("update", "I've changed!"); });
__________________
Last edited by Salathe : 11-09-2007 at 01:58 PM.
Reason: spelling :(
|
|
|
|