1 2 3 4 5 6 7 8 9 10 11 12 |
//MUST HAVE ID IN FORM <form action="run.php" method="post" id="signupform"> //MUST BE SUBMIT BUTTON (DOES NOT NEED ID) <input type="submit" value="Submit"/> $("#signupform").submit(function() { var usernamecheck = $("#usernameresponse").html(); alert (usernamecheck); return false; }); |
