Last active
December 12, 2015 06:28
-
-
Save msng/4729246 to your computer and use it in GitHub Desktop.
HTML の submit ボタンが押されたら disabled にする (要 jQuery)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$('form').submit(function() { | |
$(this).submit(function () { | |
return false; | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IE6 と IE8 での不具合報告あり。