Is there a way to disable a user's ability to double-click a submit image/button (and therefore submitting duplicate data -- multiple submits)? Is there a way to do this with Javascript?
Created May 4, 2012
Ken Beard [I'm currently using Java Servlets as part of an administration program. I'm having a problem in that the user can double click the save button (a submit image) and save a record twice by accident.]
Give the submit image (or button) an onClick() handler. Have the handler check if a flag is set and if not set the flag and submit the form and then clear the form.
[That's fine, but... Got source? -Alex]