Created
May 22, 2012 15:27
-
-
Save allentong/2769752 to your computer and use it in GitHub Desktop.
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(Selector).datepicker({ | |
onSelect: function () { | |
$(".ui-datepicker a").removeAttr("href"); // Hack to fix Datepicker in IE | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment