how do i change the date picker date format? it really doesnt work!!
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>