pav
10/5/2013 - 12:41 PM

Datepicker

Datepicker

$(function() {

    // Select the <div> dateEntry here and then apply datepicker()
        $('#dateEntry').datepicker()

});
<html>
<head>
    <title>Datepicker!</title>
    <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/themes/base/jquery-ui.css"/>        
</head>
<body>
    <p>Date: <input type="text" id="dateEntry"></p>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js" type="text/javascript"></script>
<script src="script.js"></script>
</html>