[jQuery] serialize() missing submit and password
$.fn.serialize() is missing an option to return any
submit buttons and passwords... currently it's...
.find("input[@checked],
input[@type='hidden'],
input[@type='text'],
option[@selected],
textarea")
These should be added...
input[@type='password'],
input[@type="submit"],
However, when submit is added it returns all submit tags
regardless of whether it was the one actually clicked
or not. The regular behavior of a submitted form is that
only the submit button that was clicked is returned,
regardless of how many or what they are named.
Would anyone know of any "trick" to determine which submit
button was the one that was clicked ?
--markc
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/