u can use
$(".datepicker").datepicker({
showOn: "both",
buttonImage: "/images/calendar.png",
buttonImageOnly: true,
yearRange: '1910:2010',
changeYear: true
}); or
$( "#dob" ).datepicker({ maxDate: '0'});
$(".datepicker").datepicker({
showOn: "both",
buttonImage: "/images/calendar.png",
buttonImageOnly: true,
yearRange: '1910:2010',
changeYear: true
}); or
$( "#dob" ).datepicker({ maxDate: '0'});