I'm using JQuery 1.2.6 with the following script: <script type="text/javascript"><!-- $(document).ready(function(){ $("button.submitButton").click(function () { $(this).attr("disabled","true").html("Processing, please wait..."); $("button").attr("disabled","true"); }) }); // --></script>
It works as expected in FF3 but is is slightly broken in IE7. On initial click, the submit button appears to take focus, on second click, the "Processing..." message appears and the button is disabled. The problem is that it the form is then never submitted. Any ideas on how I might "fix" this to work in IE7 as well? Thanks!