[Rails] Re: Very close to solution, can't figure out this bug with jQuery .submit()
On May 1, 11:10 pm, Tom DeHart <li...@ruby-forum.com> wrote:
> Frederick Cheung wrote in post #996132:
> Also, I understand that submitting the entire form is a poor solution to
> the problem but this is literally the first time I've ever submitted a
> remote form with JavaScript before so it was first thing I came up with.
> Would my code easily translate to this $.post() solution? I imagine that
> if I used .post() I wouldn't have to rely on hidden form data which
> would be nice.
it should do - instead of fiddling a hidden form element you'd set the
appropriate value in the javascript hash of parameters you'd be
building up
Fred
>
> Thanks again!
>
> --
> Posted viahttp://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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home