Jquery 1.2.6(其他版本的我暂不清楚)的Date Picker在IE6下会出现一个很大的输入框,里内显示一个“false”。
这个明显的bug,我在网上找了一个解决方法供大家尝试。只需简单修改css就可以。
Running a standard off-the-shelf date picker using Jquery UI using the following code:
$('#live_from').datepicker({
dateFormat: 'yy-mm-dd',
showOn: 'both',
buttonImage: 'includes/images/app/calendar.png',
buttonImageOnly: true
});
$('#live_to').datepicker({ dateFormat: 'yy-mm-dd', showOn: 'both',
buttonImage: 'includes/images/app/calendar.png', buttonImageOnly: true });
The problem we have is that in IE6 (testing in IE7 it looks fine),
there is a box below the calendar with the word false in it. When the
first date picker is clicked, the box is the same size as the
calendar. When another date picker is clicked on the same page the
false box is twice as big. The box continues to grow in size every
time a date picker is clicked.
The solution is set a css as following:
iframe.ui-datepicker-cover { display:none; }
JQuery's Date Picker in IE6 has "false" box
最新推荐文章于 2024-11-01 16:54:21 发布