Test Case Boilerplate
Fork this way...
HTML
<script src="http://code.jquery.com/ui/jquery-ui-git.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/jquery-ui-git.css">
<html>
<body>
<input class="date" id="foo" value="11/11/11">
</body>
</html>
JavaScript
$('input.date')
.datepicker(
{ dateFormat: 'dd/mm/yy', showOn: 'button',
buttonImage: 'Images/calendar.gif', buttonImageOnly: true
})
.blur(function(event) {
jqTarget = $(this);
jqTarget.val('1/1/2000');
});