Skip to content

Instantly share code, notes, and snippets.

@JeffCohen
Created June 7, 2012 13:12
Show Gist options
  • Save JeffCohen/2888727 to your computer and use it in GitHub Desktop.
Save JeffCohen/2888727 to your computer and use it in GitHub Desktop.
Some JS for Thursday
<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