【发布时间】:2010-08-16 01:10:25
【问题描述】:
我正在使用 jQuery UI,特别是 Datepicker 和 Autocomplete,如下:
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
$("#note_date").datepicker({
maxDate: 0,
});
$("#note_name").autocomplete({
source: ["1", "2"],
select: function(event, ui) {
}
});
它们在 Firefox 3.6.8 中运行良好,但在 Google Chrome 5.0.375.126 和 Safari 5.0 (6533.16) 中根本无法运行。我认为 jQuery UI 的东西应该在这些浏览器中工作?是什么导致他们无法工作?感谢阅读。
【问题讨论】:
标签: jquery jquery-ui browser google-chrome cross-browser