On selecting date in datepicker ,its not closing .It keeps on reopening.Helped needed.Thanks.
var $viewStartPicker = $('<input type="text" id="viewStartPicker" />');
$viewStartPicker.datepicker().change(function () {
var d = new Date(this.value);
if (d == "Invalid Date")
this.value = "Invalid Date";
});
Which version of IE? Works fine for me in IE 11. fiddle: http://jsfiddle.net/ddan/z4ry6dtu/