posted 14 years ago
onclick="this.disabled=true;" is working for me in IE but not in Firefox. Below is the code.
Ultimately I am trying to grey out the "Submit" button by using the following code.
onclick="setTimeout('document.getElementById(\'' + this.id + '\').disabled=true;', 50);" styleClass="button">
but onclick="this.disabled=true;" is not working for me at the first place in Firefox.
SCJP 1.6, SCWCD 5.0, SCBCD 5.0 [loading..]