Displaying 1 result from an estimated 1 matches for "form_upd".
Did you mean:
form_id
2005 Mar 25
4
ajax and clearing the form
Hi
I played a little bit with rails+ajax, works fine...
but how do I reset the form?
I tried:
---
<%= form_remote_tag(:html => {:name => ''form_update''},
:url => :url_new_item_with_ajax,
:update => ''container'',
:loading => "Toggle.display(''new-item''); $(''new-item-desc'').innerHTML = ''Saving'';",
:complete => "$(''n...