0

我在我的网站上使用这个jQuery代码的datepicker。现在问题是日期选择不适用于IE6,但它完全适用于新版本的IE。
我使用:
jQuery JavaScript库V1.7
jQuery UI的1.8.4jquery datepicker不能使用IE6

<script src="../Script/![enter image description here][1]jquery.datepicker/js/jquery.date-picker.min.js" type="text/javascript"></script> 
<link href="../Script/jquery.datepicker/css/smoothness/jquery-ui-datepicker.css" rel="stylesheet" type="text/css" /> 
<script type="text/javascript"> 
    $(document).ready(function() { 
     $("#<%= DateSelected.ClientId%>").datepicker({ showButtonPanel: true, closeText: 'X', dateFormat: "<%=UtilityFunctions.GetDateFormat(Page) %>" }); 
     $(".imgBtn").click(function (event) { 
      var pos = $(event.currentTarget).position(); 
      $("#<%= DateSelected.ClientId%>").datepicker("show"); 
      $("#ui-datepicker-div").css("left", pos.left); 
      $("#ui-datepicker-div").css("top", pos.top + 30); 
     }); 
    }); 

<asp:Image alt="Calendar" Runat="server" ID="calendarHeader" ImageUrl="~/images/calendar.png" Width="24" height="24" class="imgBtn" /> 
+3

嗯,为什么地球上,你试图与一些现代的东西completable不再由它提供支持? – SpYk3HH

+2

这不是我,我的客户.. :((( –

+0

)“不工作”是什么意思?究竟发生了什么?你是否看到控制台中的错误?你能在jsFiddle中重现问题吗? – jfriend00

回答

1

变化以下图片为.gif和将开始工作。
UI-icons_222222_256x240.png
UI-icons_454545_256x240.png
UI-icons_888888_256x240.png