我正在使用ASP.NET开发一个网站,我将在我的网站中使用jQuery datepicker.我使用了以下代码,但它不起作用.有谁知道为什么?
<link href="css/calendar/jquery-ui-1.8.7.custom.css" rel="stylesheet" type="text/css" />
<script src="jquery/calendar/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="jquery/calendar/jquery-ui-1.8.7.custom.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$("#txtEventDate").datepicker();
});
</script>
Run Code Online (Sandbox Code Playgroud)
这是我的文本框HTML代码:
<asp:TextBox ID="txtEventDate" runat="server" Width="125px"></asp:TextBox>
Run Code Online (Sandbox Code Playgroud) 当我在asp.net页面中使用模式弹出扩展器时,我得到"Microsoft JScript运行时错误:'_popupElement.parentNode'为空或不是对象"这是每次运行时错误.有谁知道克服了这个问题.
这是我的modalpopup标签