Toby, I was using it in a function where the form is passed into it,
so using $ didn't make sense. I had a form kinda like this (with more
attributes, obviously):
<form onsubmit="someFunction(this)">
and the function was something like this:
function someFunction(form) {
form.getInputs(); //doesn't work
Form.getInputs(form);
...
}
Of course, it has occurred to me since then that my problem may have
been using the word "form" as a variable. :/
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---