Created
January 28, 2014 07:47
-
-
Save egobrain/8663672 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Test remember password</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(function() { | |
$('#login-button').click(function (ev) { | |
alert('AJAX login...'); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<iframe src="dummy.html" name="dummy" style="display: none"></iframe> | |
<form action="" method="post" target="dummy"> | |
<div id="login"> | |
Email: <input type="text" name="email" id="email"/><br/> | |
Password: <input type="password" name="password" id="password"/><br/> | |
<input id="login-button" type="submit"/> | |
</div> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment