开发者

JQuery, Datepicker...OnSelect wont work in IE

Ok...really bugging me. Was working on all platforms, but for some reason, is not now. Go figure, IE is causing problems with the following code:

$(document).ready(function() {
    $("#ecalendar").datepicker({ 
      onSelect: function(dateText, inst) { 
   开发者_StackOverflow中文版     alert("Finally!"); 
      }, 
      beforeShowDay: setScheduledDays
    }); 
});

Works great in every browser except IE. I know this has been asked a billion times, but none of the other answers garnered any results.


Try targeting your select list like so:

$("#ecalendar select").datepicker({ 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜