> Because Form isn't a function, it's a plain object with some
> properties. Look at line 2548:
>
> var Form = {
> ...
> }
I had seen that, but *Element* is declared just like *Form* and
Element('blabla').hide()
works.
This looks more like a bug, *all* of these extensions to the DOM are
usually
available as Singletons, and besides http://www.prototypejs.org/api/form/reset
gives an example using Form as a singleton.
> but if all the function does is enable the form, why not:
>
> onclick="$(this.form).enable();"
It is not all it does, I was just being succint.
Anyways, thanks for the alternative workarounds.
Cheers,
Zac
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---