I\'m trying to handle the submit
event of a form
element using jQuery.
$(\"form\").bind(\"submit\", function() {
alert
Yeah, this is annoying. I replace __doPostBack
with my own so that I could get submit events to fire.
Iirc, this is an issue when submitting a form via javascript (which calls to __doPostBack
do) in IE (maybe other browsers too).
My __doPostBack
replacement calls $(theForm).submit()
after replicating the default behavior (stuffing values in hidden inputs)