Im new for jQuery. I want to use a button click event to raise a warning window. This is my code, but it does not seem to work. Help! you are welcome
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Jquery Basic</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script> $(document).ready(function() { $('submit1').click(function() { alert("JQuery Running!"); )}; }); </script> </head> <body> <a>JQuery Test Page</a><br> <input id="submit1" type="button" value="Submit"/> </body> </html>
source share