Hi guys,
I''ve downloaded the liveValidation JavaScript from
www.livevalidation.com.
I found that the remote_form_for does not work with the js. The
necessary AJAX code in the "onsubmit" part of the <form> tag is
missing
**Sometimes**
yes, it''s sometimes:
1.a save button onclick="submit button.click" - ajax ok mostly
1.b save button onclick="submit button.click" - ajax failed sometimes
unless I using prototype to observe some other control (e.g.
$(''othercontrol'').observer(''click'', test))
2. save button onclick="form.submit" - ajax work but nothing can be
Get.
All in all, the remote_form_for is probably affected by the
validation''s
JS event.
Is it a known bug or what cannot be done together with the
remote_form_for?
Thanks much
Arthur
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---