jQuery UI Datepicker [英] jquery ui datepicker
本文介绍了jQuery UI Datepicker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的jQuery UI日期选择器正在forefox上工作,但在Internet Explorer上却不工作.
谁能帮助我.
my jquery ui date picker is working on forefox but not on internet explorer.
can anyone help me.
推荐答案
请确保您在标题中使用了以下引用,并且这些脚本已正确使用.您可以通过firebug中的enabling Net
确保脚本在firefox上加载.或者,您可以使用javascript debugger
捕获任何类型的脚本错误.
步骤1:
Make sure that you are using the following reference in the header and those scripts are loading properly using. You can ensure the script loading on firefox byenabling Net
in firebug. Or you can catch any kind of script error usingjavascript debugger
.
Step1:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/base/jquery-ui.css" type="text/css" media="all" />
<link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" />
<script type="text/javascript">
(function(){
(function () {
(#<% = tbxDate.ClientID %> ).datepicker({ changeMonth:是的, changeYear:正确 }); }); < /script >
("#<%= tbxDate.ClientID %>").datepicker({ changeMonth: true, changeYear: true }); }); </script>
步骤:2
Step:2
<asp:TextBox ID="tbxDate" runat="server" ></asp:TextBox>
参考资料.在这里
请让我知道您的更新. :)
Ref. Here
Please let me know your update. :)
这篇关于jQuery UI Datepicker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文