<link rel="Stylesheet" type="text/css" href="jquery-ui-1.8.21.custom/css/ui-lightness/jquery-ui-1.8.21.custom.css" />
<script type="text/javascript" src="jquery-ui-1.8.21.custom/js/jquery-1.7.2.min.js" ></script>
<script type="text/javascript" src="jquery-ui-1.8.21.custom/js/jquery-ui-1.8.21.custom.min.js" ></script>
<script type="text/javascript">
$(function () {
$("#txtdate").datepicker();
});
</script>
在 FF 中工作正常,但在 Windows Server 2008 R2 上的 IE9 上,日期选择器显示,但我无法选择日期并将其放入输入文本框中。
最佳答案
我也有这个。该问题是 IE 增强安全配置造成的。您可以按照以下说明将其关闭: http://4sysops.com/archives/how-to-disable-internet-explorer-enhanced-security-configuration-ie-esc-in-windows-server-2008/
请记住,关闭它是经过计算的风险。
关于jquery - IE9 中的 jQueryUI datepicker 是否存在某种错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11118260/