allentong
5/22/2012 - 3:27 PM

Internet Explorer jQuery UI Datepicker access the link on IE via the href tag. This fix removes the href tag attribute on selection. Teste

Internet Explorer jQuery UI Datepicker access the link on IE via the href tag. This fix removes the href tag attribute on selection. Tested in jQuery UI 1.8.18 and below

$(Selector).datepicker({
   onSelect: function () {
       $(".ui-datepicker a").removeAttr("href");  // Hack to fix Datepicker in IE
   } 
});