12 | | |
| 12 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| 13 | "http://www.w3.org/TR/html4/loose.dtd"> |
| 14 | <html> |
| 15 | <head> |
| 16 | <script src="http://code.jquery.com/jquery-latest.js"></script> |
| 17 | <script src="http://dev.jquery.com/view/tags/ui/latest/ui/ui.datepicker.js"></script> |
| 18 | <style type="text/css" media="screen"> |
| 19 | @import url('jquery-ui-themeroller.css'); |
| 20 | img.datepicker_trigger{ border:none; } |
| 21 | </style> |
| 22 | <script> |
| 23 | $(document).ready(function(){ |
| 24 | $('#example').datepicker({dateFormat: 'yy-mm-dd'}); |
| 25 | }); |
| 26 | </script> |
| 27 | </head> |
| 28 | <body> |
| 29 | <input type="text" id="example"/> |
| 30 | </body> |
| 31 | </html> |