When Written: Nov 2006
b.disabled = true;
b.value = 'Submitting';
And calling it when the user clicks the submit button
<input type="submit" name="SubmitButton" id="SubmitButton"
What happens when the user clicks the button on a web page is that the text on the button changes from ‘Submit’ to ‘Submitting’ and the button is disabled so further clicks on it will have no effect. Simple but effective
Article by: Mark Newton
Published in: Mark Newton