Date: -
Date range: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. The complete API
Other References:
to my images folder here:
/images/calendar/calendar.gif//file: /scripts/cal_jq.js function set_up_calendar () { //convention: <script type="text/javascript">set_up_calendar()</script> document.write ('', '<link type="text/css" href="/scripts/jq/themes/base/ui.all.css" rel="stylesheet" />', '<script type="text/javascript" src="/scripts/jq/js/jquery.js"></script>', '<script type="text/javascript" src="/scripts/jq/ui/ui.core.js"></script>', '<script type="text/javascript" src="/scripts/jq/ui/ui.datepicker.js"></script>', '<link type="text/css" href="/scripts/jq/demos/demos.css" rel="stylesheet" />', '' ); }
<script type="text/javascript" src="/scripts/cal_jq.js"></script> <script type="text/javascript">set_up_calendar()</script>
<p>Date: <input type="text" id="datepicker" size="12"> - <input type="text" id="datepicker2" size="12"></p>
<script type="text/javascript">
$(function() {
$("#datepicker").datepicker({showOn: 'button', buttonImage: '/images/calendar/calendar.gif', buttonImageOnly: true});
$("#datepicker2").datepicker({showOn: 'button', buttonImage: '/images/calendar/calendar.gif', buttonImageOnly: true});
});
</script>
* Special Note: If you are having other languages write this out such as perl remember to escape the dollar signs. Example: \$ or it will break