Oh wait, this won't work since we are submitting the form manually. Ignore me as well and listen to Jörn!

-- Felix
--------------------------
http://www.thinkingphp.org
http://www.fg-webdesign.de


Felix Geisendörfer wrote:
Why make it so complicated? Afaik if you give all your input[type=submit] buttons the same 'name' attribute but different 'value's then the server will receive the data just like it would from a normal text input field, only that the 'value' of 'name' will equate to the button that was clicked.

-- Felix
--------------------------
http://www.thinkingphp.org
http://www.fg-webdesign.de


Jörn Zaefferer wrote:
RCS Computers schrieb:
Thank you. That is actually what I am doing. However, when I do that, I lose track of which button submitted the form (the server side code uses the button that was clicked to determine its action). I am trying to work this out right now.
Ok. As there doesn't seem to be much of an alternative: Check the target property of the submit event. Maybe you can get the submit button from there, and create a hidden form field with name and value of that button.

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to