Look at the following code. It puts the date in the span in a format
not specified by myself.
<div style="" id = "date1"></div>
<span id="date1show"></span>
<script language="JavaScript" type="text/javascript">
$("#date1").datepicker({minDate: '0'});
$('#date1').datepicker('option', 'dateFormat', 'yy');
var d1 = $("#date1").datepicker('getDate');
document.getElementById("date1show").innerHTML = d1;
</script>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---