5 <title>jQuery UI Datepicker - Icon trigger</title>
6 <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7 <script src="../../jquery-1.9.1.js"></script>
8 <script src="../../ui/jquery.ui.core.js"></script>
9 <script src="../../ui/jquery.ui.widget.js"></script>
10 <script src="../../ui/jquery.ui.datepicker.js"></script>
11 <link rel="stylesheet" href="../demos.css">
14 $( "#datepicker" ).datepicker({
16 buttonImage: "images/calendar.gif",
24 <p>Date: <input type="text" id="datepicker"></p>
26 <div class="demo-description">
27 <p>Click the icon next to the input field to show the datepicker. Set the datepicker to open on focus (default behavior), on icon click, or both.</p>