I have a form_remote_tag which is ended with submit_tag. There is a table with a number of rows inside. Action in this form updates all lines.
In row, the right most cell contains a link_to_remote 'Delete' (:url,...etc,:href).
Here rise one problem. Everybody know, that for security reason with actions like delete, we always need request as 'post'.
I've tried change link_to_remote on submit_to_remote but options :html seems not works (Firefox). This mean when JS is on is ok, when is off, not happen.
I couldn't resolve this problem with another helpers like button_to_function or remote_function.
We must to remember that we are inside the form.
How can we achieve request always as post?
Can we talk about degrade server-side without resolve this problem, is any point in it ?
Last edited by walde (2007-09-18 02:24:30)