Jquery移动日期选择器 [英] Jquery Mobile Date Picker
问题描述
我在MVC4移动应用中使用Datepicker
得到以下错误
JScript第2行第1行未处理的异常 - 脚本块
0x800a01b6 - Microsoft JScript运行时错误:对象不支持这个属性或方法
$(#datepicker)。datepicker();
------------------------------------------------
http:// localhost:64431 / Scripts / jquery-1.7.1.js第4栏第611行未处理的异常
0x80020101 - 由于错误80020101无法完成操作
jQuery 1.7.1.js :
折叠|复制代码
(window.execScript || function(data){
window [eval] .call(window,data) ;
})(数据);
I am using Datepicker in MVC4 Mobile app
Got the following error
Unhandled exception at line 2, column 1 in JScript - script block
0x800a01b6 - Microsoft JScript runtime error: Object doesn't support this property or method
$( "#datepicker" ).datepicker();
------------------------------------------------
Unhandled exception at line 611, column 4 in http://localhost:64431/Scripts/jquery-1.7.1.js
0x80020101 - Could not complete the operation due to error 80020101 in
jQuery 1.7.1.js :
Collapse | Copy Code
( window.execScript || function( data ) {
window[ "eval" ].call( window, data );
} )( data );
推荐答案
(#datepicker)。datepicker();
----------------------------------------- -------
http:// localhost:64431 / Scripts / jquery-1.7.1.js第611行第6栏未处理的异常
0x80020101 - 由于错误80020101无法完成操作
jQuery 1.7.1.js:
折叠|复制代码
(window.execScript || function(data){
window [eval] .call(window,data) ;
})(数据);
( "#datepicker" ).datepicker();
------------------------------------------------
Unhandled exception at line 611, column 4 in http://localhost:64431/Scripts/jquery-1.7.1.js
0x80020101 - Could not complete the operation due to error 80020101 in
jQuery 1.7.1.js :
Collapse | Copy Code
( window.execScript || function( data ) {
window[ "eval" ].call( window, data );
} )( data );
//别忘了给arr id =datepicker
//Dont forget to give arr id="datepicker"
(document).ready(function(){
(document).ready(function () {
这篇关于Jquery移动日期选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!