$(document).ready(function() {
$("#FieldsetID").each(function() {
$('.Isubmit').attr('disabled', 'disabled');
});
});
the button showing as disabled but when I click on that its doign action?
is that something i am doing wrong?
thanks
For some reason, IE doesn’t prevent the event from bubbling when you click a disabled submit button.
I assume you have some other event handler on an ancestor that is therefore being triggered.
In that ancestor’s event handler, it looks like you’ll need to test to see if the
submitbutton was clicked and if it is disabled. If so, you’llreturn false;to prevent the code from running, or the submit from occurring, or whatever.