jquery - IE9 中的 jQueryUI datepicker 是否存在某种错误?

标签 jquery jquery-ui internet-explorer-9

   <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/

相关文章:

jquery - 拖放 : jQuery UI or Scriptaculous?

jquery - jquery 拖动停止后 chrome 中的表格边框问题

jquery - '数据:image/jpg;base64' and jQuery image preview in Internet Explorer

javascript - 合并 pdf 的正则表达式验证,文件名不应有 '+' 或 '%' 符号

javascript - 像 Airbnb 一样,切换从顶部出现(下推)的 div 后,将滚动条设置为零(一次)

javascript - 选择下拉菜单时的 onchange 函数将填充文本框

html - 带背景剪辑的 CSS 3 过滤器

javascript - 基于 jQuery 中的垂直滚动值加载具有多个背景的长页面?

javascript - jQuery 选择器缓存问题

HTML5 视频在 chrome 中播放但在 IE9 中不播放