Apparently a bug in jQuery. I just added a do nothing event handler to "onSelect" event of the jQuery datepicker and it worked fine. Below is the modified jQuery code:
$(document).ready(function () {
$("#txtDate").datepicker({
changeMonth: true,
changeYear: true,
yearRange: "+0:+1",
showButtonPanel: false,
dateFormat: "dd/mm/yy",
showOn: "button",
buttonImage: "../../images/Calendar.png",
buttonImageOnly: true,
onSelect: function () { }
});
});
I was getting the error in IE 10 as well. Let me know if it works.