Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jquery plug-in to prevent double click on form submit Re: jquery plug-in to prevent double click on form submit

#75541
Chris Coyier
Keymaster

I would think this would work.

Code:
$(“form”).submit(function() {

$(this).find(“input[type=submit]”).attr(“disabled”, true);

});