March 13, 2007
IE Javascript event nightmare
I thought it would be nice to disable a forms submit button once it was pressed once to prevent impatient users from clicking again and again if the post might take longer as expected.
<input type=”submit” value=”Send” onclick=”this.disabled=true”/>
But as I noticed IE6 doesn’t like that. After disabling the submit it cancels the submit of the page [...]