2
   <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 上显示日期选择器,但我无法在输入文本框中选择和输入日期。

4

1 回答 1

1

I had this too. The problem is a result of IE Enhanced Security Configuration. You can turn it off by following these directions: http://4sysops.com/archives/how-to-disable-internet-explorer-enhanced-security-configuration-ie-esc-in-windows-server-2008/

Just keep in mind that you are taking a calculated risk by turning it off.

于 2012-07-19T20:12:33.820 回答