A couple things you might want to look at:
1. Does your button have type="submit" ? It will need to if you want
to submit with it in IE.
2. The disabled attribute value should be true, not "true".
--Karl
____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 26, 2009, at 4:55 PM, GBartels wrote:
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!