View Single Post
Old 11-09-2007, 12:29 PM   #3 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,112
Thanks: 3
Salathe is on a distinguished road
Default

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 :(
Salathe is offline  
Reply With Quote