Mega Code Archive

 
Categories / JavaScript Tutorial / JQuery
 

JQuery UI Datepicker - Display inline

<!--   jQuery UI Effects Blind 1.7.2     Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)   Dual licensed under the MIT (MIT-LICENSE.txt)   and GPL (GPL-LICENSE.txt) licenses.     http://docs.jquery.com/UI/Effects/Blind   --> <!doctype html> <html lang="en"> <head>   <title>jQuery UI Datepicker - Display inline</title>   <link type="text/css" href="js/themes/base/ui.all.css" rel="stylesheet" />   <script type="text/javascript" src="js/jquery-1.3.2.js"></script>   <script type="text/javascript" src="js/ui/ui.core.js"></script>   <script type="text/javascript" src="js/ui/ui.datepicker.js"></script>   <link type="text/css" href="js/demos.css" rel="stylesheet" />   <script type="text/javascript">   $(function() {     $("#datepicker").datepicker();   });   </script> </head> <body> <div class="demo"> Date: <div id="datepicker"></div> </div><!-- End demo --> <div class="demo-description"> <p>Display the datepicker embedded in the page instead of in an overlay.  Simply call .datepicker() on a div instead of an input.</p> </div><!-- End demo-description --> </body> </html>