Select a date from a popup or inline calendar

Ivinraj.S
Posted by Ivinraj.S under jQuery category on | Points: 40 | Views : 3925
<html lang="en">
<head>
<meta charset="utf-8" />
<title>jQuery UI Datepicker - Display month &amp; year menus</title>

<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>

<script>
$(function() {
$( "#datepicker" ).datepicker({
changeMonth: true,
changeYear: true
});
});
</script>

</head>
<body>

<p>Date: <input type="text" id="datepicker" /></p>


</body>
</html>

Comments or Responses

Login to post response