Sorry for my suggestion, I misread your point, thought you were not able to
disable your button.
You say it works in FF, Have your tried this same code in IE 7.0 ? Does it
works?
I can see in your code that you bind a submit event to the #node-form twice,
why is that?
$(document).ready(function() {
$('#node-form').submit(function (e)
{ // <******* HERE
var settings = Drupal.settings.block_submit;
if (settings.block_submit_method == 'disable') {
$('input[type=submit]', $(this)).attr('disabled',
'true').each(function (i) {
});
$(this).submit(function (e)
{ // <******* HERE
return false;
});
}
return true;
});
});
----- Original Message -----
From: "Amit" <
amit2403@gmail.com>
To: "jQuery (English)" <
jquery-en@googlegroups.com>
Sent: Monday, July 06, 2009 1:37 PM
Subject: [jQuery] Re: DISABLE BUTTON AFTER 1 CLICK ->JQUERY: NOT WORKING
WITH IE8
Hi Cesar,
Thanks for your reply. But that isn't working. It still gives me the
same result. The form does not post. It is just that the button gets
disabled after click.
Wonder why it works properly in Firefox and Chrome but not in IE.. :(
Please help.
~Amit