web/static/css/jq-css/demos/datepicker/buttonbar.html
changeset 30 81d408373dde
equal deleted inserted replaced
29:1f2c13ece5e9 30:81d408373dde
       
     1 <!DOCTYPE html>
       
     2 <html lang="en">
       
     3 <head>
       
     4 	<meta charset="UTF-8" />
       
     5 	<title>jQuery UI Datepicker - Display button bar</title>
       
     6 	<link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
       
     7 	<script type="text/javascript" src="../../jquery-1.4.2.js"></script>
       
     8 	<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
       
     9 	<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
       
    10 	<script type="text/javascript" src="../../ui/jquery.ui.datepicker.js"></script>
       
    11 	<link type="text/css" href="../demos.css" rel="stylesheet" />
       
    12 	<script type="text/javascript">
       
    13 	$(function() {
       
    14 		$('#datepicker').datepicker({
       
    15 			showButtonPanel: true
       
    16 		});
       
    17 	});
       
    18 	</script>
       
    19 </head>
       
    20 <body>
       
    21 
       
    22 <div class="demo">
       
    23 
       
    24 <p>Date: <input type="text" id="datepicker"></p>
       
    25 
       
    26 </div><!-- End demo -->
       
    27 
       
    28 <div class="demo-description">
       
    29 
       
    30 <p>Display a button for selecting Today's date and a Done button for closing the calendar with the boolean <code>showButtonPanel</code> option.  Each button is enabled by default when the bar is displayed, but can be turned off with additional options.  Button text is customizable.</p>
       
    31 
       
    32 </div><!-- End demo-description -->
       
    33 
       
    34 </body>
       
    35 </html>