Hey Frank,
frank a écrit :
> It doesn't appear to be working.
>
> Event.observe('formid', 'submit', fetchDataFromServer);
>
> <form id="formid">
> <input type="text" id="textgoeshere"/>
> <input type="submit" value="submit"/>
> </form>
You *do* run the observe call *after* the DOM is loaded, right?
--
Christophe Porteneuve a.k.a. TDD
"[They] did not know it was impossible, so they did it." --Mark Twain
Email: [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" 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/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---