错误: 对象不支持“datepicker”属性或方法
代码如下:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JQuery-Date.aspx.cs" Inherits="JQueryDemo1.JQuery_Date" MasterPageFile="~/Site.Master"%><asp:Content ContentPlaceHolderID="HeadContent" ID="h" runat="server"> <link href="css/demos.css" rel="stylesheet" type="text/css" /> <link href="css/jquery.ui.all.css" rel="stylesheet" type="text/css" /> <link href="css/ui-lightness/jquery-ui-1.8.10.custom.css" rel="stylesheet" type="text/css" /> <script src="js/jquery-1.4.4.js" type="text/javascript"></script> <script src="js/jquery.ui.datepicker.js" type="text/javascript"></script> <script src="js/jquery.ui.widget.js" type="text/javascript"></script> <script src="js/jquery-1.4.4.js" type="text/javascript"></script> <script type="text/javascript"> $(function () { $("#dp").datepicker(); //dp.parent().appendTo(jQuery("#MainContent")); }); </script></asp:Content><asp:Content ContentPlaceHolderID="MainContent" ID="d" runat="server"><asp:TextBox ID="dp" runat="server" ></asp:TextBox></asp:Content>
- 3 回答
- 0 关注
- 400 浏览
添加回答
举报
0/150
提交
取消