Javascript examples for jQuery:Form Submit
Jquery multi submit event
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-1.7.1.js"></script> <script type="text/javascript"> $(window).load(function(){//from ww w. ja v a 2s . c o m $('form').submit(function(e){ e.stopImmediatePropagation(); return false; }); $('form').submit(function(){ console.log('hi'); }); }); </script> </head> <body> <form> <input type="submit" value="submit"> </form> </body> </html>