Hello everyone,
I have this very easy task to accomplish: block clicks on a whole page after
posting to the server to prevent impatient users from clicking many times
and causing problems to the serverside-code.
I actually could do it in IE using this technique:
....
function DisableIEControls() {
try {
document.body.style.cursor = "wait";
document.attachEvent("onclick", function(){return false;});
} catch (e) {}
}
window.attachEvent('onbeforeunload',function(){Dis ableIEControls()});
....
This works fine in IE, now can someone help me writing the same for
non-Microsoft browsers...
I tried almost all but to no avail... clicks are always "sent" to server
side...
Thanx in Advance
QDL