But i am already using form_remote_tag, i dont want to use submit_to_remote.I want to use link_to_remote to submit the whole form .how to do this
actually there is a trick in the middle of both worlds... you declare your form with a form_remote_tag, then you make a link_to_function to fire the onsubmit of the form. That way you are getting all the arguments of the form serialized without doing it yourself.
regards,
javier ramirez