Re: Accessing form elements

Frederick Cheung
Tue, 03 Jun 2008 23:12:01 -0000

On Jun 4, 12:04 am, Chris Hickman
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:
> Sorry I misread your response.  How would I trigger the form submit from
> a link?  That is what I have been looking to do all day and could only
> find ajaxy ways of doing it which wouldnt allow me to redirect
> afterwards.

onclick="some_form.submit()". At that point you might as well just be
styling the form''s submit button to not look like a button.

Fred
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com