mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
d165e454b4
Demonstrate inline disabled datepicker Demonstrate big previous/next links
14 lines
394 B
HTML
14 lines
394 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> |