Javascript examples for jQuery:Form Submit
Change value on type=submit
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-compat-git.js"></script> <script type="text/javascript"> $(window).on('load', function() { $(function() {//w ww . ja va 2 s. co m $("input[type=submit]").val("New value"); }); }); </script> </head> <body> <form> <input type="submit" value="Submit button"> </form> </body> </html>