How to use two submit tag with form_remote_tag

K

Kumar Saurav

Hi all ,
can we use two submit tag with form_remote_tag . If yes then what is the
solution.
Please let me help.
 
P

Phlip

Kumar said:
can we use two submit tag with form_remote_tag . If yes then what is the
solution.

This is a Rails question - please switch to the Google Rails Task forum for
better answers.

The solution is one of the buttons is really a button_to_function call, with the
function set to remote_function. The :with => arguments on that will be
Form.serialize. That's enough to get you Googling again!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top