I am using the following code to display the year range:
$('.date-own').datepicker({
format: " yyyy",
viewMode: "years",
minViewMode: "years",
autoclose: true,
startView: 2,
yearRange: '1950:2011'
});
But the range is not coming.
How can I solve this since I only need the year from 1950 to 2010 only?