On 10 Mar., 06:20, Salil Gaikwad <[email protected]>
wrote:
> I want to use onsubmit for a form validation using javascript on
> remote_form_for
<snip>
> but it not works well. if condition return false then my form is not get
> submitted this is exactly what i want but when it returns true it
> produce something like this o/p on UI.
>
> Element.update("user_report", "\n\n\u003Ctable class=\"list
> issues\"\u003E\n \u003Cthead\u003E\u003Ctr\u003E\n
> \u003Cth\u003E#\u003C/th\u003E\n
I guess this is a JavaScript issue. What about showing us that?
--~--~---------~--~----~------------~-------~--~----~
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 [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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---