Brilliant, thanks for the tip. $('formId').reset() worked perfectly.
Still working out the kinks, but this so far, I am really enjoying
working with it.
Thanks to everyone else for their responses too. I am sure I will be
reading through tons of posts here in the coming days.
On Jul 9, 2:45 pm, Tom Gregory <[EMAIL PROTECTED]> wrote:
> On Jul 9, 2007, at 6:17 AM, jenner wrote:
>
> > I've tried
> > Form.reset('formName') in it's own JS function and trying to run after
> > my Ajax.Updater completes, but it is not working.
>
> That's because the reset() function is native to the form object, not
> a Prototype add on.
>
> $('formId').reset() works just fine for me.
>
> TAG
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---