Created
June 7, 2012 13:12
-
-
Save JeffCohen/2888727 to your computer and use it in GitHub Desktop.
Some JS for Thursday
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> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script> | |
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/themes/redmond/jquery-ui.css" type="text/css" media="screen"> | |
<script> | |
$(function() { | |
$("#message").datepicker(); | |
$("a").on('click', function() { | |
$("p").fadeOut(9000); | |
return false; | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<label>Enter the date that your password that was just stolen from LinkedIn:<input type="text" id="message"></input></label> | |
<p>Hello</p> | |
<p>Goodbye</p> | |
<a href="http://www.apple.com"> | |
Click here for the weather | |
</a> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment