jquery-ui/demos/functional/templates/ui.datepicker.inl.html
2008-09-20 17:42:04 +00:00

14 lines
381 B
HTML

<input type="text" id="altInline" size="10"/>
<div id="inline"></div>
<p style="clear: both;"><!-- See day-by-day example for highlighting days code --></p>
<script type="text/javascript">
function setInlineDate() {
try {
var date = $.datepicker.parseDate("mm/dd/yy", $("#altInline").val());
$("#inline").datepicker("setDate", date);
}
catch (e) {
// Ignore
}
}
</script>