I\'ve been trying to find the \"right\" way to prevent double submits of forms. There are lots of related posts on SO but none of them hit the spot for me. Two questions b
You could try using the following code:
$(document).ready(function(){ $(".once-only").click(function(){ this.submit(); this.disabled = true; return true; }); });