I am using JSF 2.0 and dealing with the multiple submission when click double-clicked on the submit button.
I have used jQuery to disable a command button when click, and here is my code:
$("input[name='form:submitButton']").click(function() {
$(this).attr("disabled", true);
return true;
});
When I click on the button, the submit button disable successfully but the submission does not fire at all.
Anyone could give me some hints on it?
Thank you very much!!