Datepicker won't initialize with a default date on load
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="datepicker.js"></script>
<script>
$(document).ready(function(){
$('#example').datepicker({
setDate: new Date('2008','12','10'),
showOn: 'button',
buttonImage: '/includes/jscript/jquery/css/images/calendar.gif',
buttonImageOnly: true
});
});
</script>
</head>
<body>
<input type="text" id="example" style="width:300px;"/>
</body>
</html>
Above is my code, and the date field is loaded as empty without a
default date although I specified setDate. Any help is appreciated.