Given this markup:
// Calendar.html?date=1/2/2003
<script>
$(function() {
$('.inlinedatepicker').datepicker();
});
</script>
...
<div class="inlinedatepicker" id="calendar"/>
This will display an inline datepicker with very little effort (awesome!). How do I preset the datepicker to the date passed in via the query string?
Note that in this case, I don't have an input box--just a calendar attached to a div.