I'd usually disable the button inside the function called. (so in your case, the first thing you do in IncrementCount method is disable the submit button, and update it's text/innerHTML if desired... ex: "Working...")