Javascript examples for jQuery:Form Submit
form submission disabling
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.5.2.js"></script> <script type="text/javascript"> $(window).load(function(){/*from ww w. j a v a 2 s . c om*/ $('input[type="submit"]').attr("disabled", "disabled"); }); </script> </head> <body> <input type="submit" val="Submit"> </body> </html>