jQuery UI Library Initialization


Example

The datepicker is used to show an interactive date selector which is tied to a standard form input field. It makes selecting of date for input tasks very easy and also it is also highly configurable.

Any input field can be bound with jquery-ui datepicker by the input field's selector (id,class etc.) using datepicker() method like this -

<input type="text" id="datepicker">
<script>
    $("#datepicker").datepicker();
</script>

Live demo is here.