I have some troubles with yet another Internet Explorer beauty.
Scenario : I disable a button, and enable it later. Virtually, this is done, the only problem is that once my button is enabled again, it will still appear disabled to the user until he decides to move his mouse in the browser.
Any workaround this, even a dirty one ?
I use the following JQuery, although the problem exists in plain Javascript :
$("#processpositions_button").attr("disabled", "disabled");
$("#processpositions_button").removeAttr("disabled");
UPDATE : the problem happens in IE7, I suppose in IE8 as well
Quick and dirty?
The disabled attribute is basically a Boolean (false or true, 0 or 1), so try this instead:
DISABLE:
ENABLE:
If that helps, just use the same logic to disable the button: