Skip to content

Instantly share code, notes, and snippets.

@apolzon
Created December 14, 2011 22:21
Show Gist options
  • Select an option

  • Save apolzon/1478838 to your computer and use it in GitHub Desktop.

Select an option

Save apolzon/1478838 to your computer and use it in GitHub Desktop.
<SCRIPT>
$(function() {
$( "#datepicker" ).datepicker();
});
</SCRIPT>
<DIV class=demo>
<P>Date: <INPUT id=datepicker></P></DIV><!-- End demo -->
<DIV class=demo-description style="DISPLAY: none">
<P>The datepicker is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.</P></DIV><!-- End demo-description -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment