开发者

jQuery UI datepicker doesn't work in IE7

Helllo everyone,

Here is the sample of the JS code I use

function() {
    if($(".datepicker")) {
        $(".datepicker").datepicker($.datepicker.regional['de']);
    }
}

but it just does not show the page in IE7 under Window开发者_StackOverflows.

Any ideas what did I do wrong here?


IT works for me i have used it as,

 <script>
       $("#start_date").datepicker($.datepicker.regional['de']);   //also works
       $("#start_date").datepicker('option', 'dateFormat', 'yy-mm-dd');
       $("#end_date").datepicker();
       $("#end_date").datepicker('option', 'dateFormat', 'yy-mm-dd')

 </script>


       <input type="text" id="start_date" name="start_date" title ="Start Date" />
       <input type="text" id="end_date" name="enddate" title ="enddate" />
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜