MVC4 Mobile中的日期选择器问题 [英] Date Picker Issue in MVC4 Mobile

查看:84
本文介绍了MVC4 Mobile中的日期选择器问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在MVC4移动应用中使用Datepicker



得到以下错误







 JScript第2行第1行未处理的异常 - 脚本块

0x800a01b6 - Microsoft JScript运行时错误:对象不支持此属性或方法

$(#datepicker)。datepicker();



------- -----------------------------------------



第611行的未处理异常,http:// localhost:64431 / Scripts / jquery-1.7.1.js中的第4列

0x80020101 - 无法完成操作,因为错误80020101在


jQuery 1.7.1.js:

折叠|复制代码

(window.execScript || function(data){
window [eval] .call(window,data);
})(data);







[edit]已添加代码块[/ edit]

解决方案

(#datepicker)。datepicker();



--- ---------------------------------------------



 http:// localhost:64431 / Scripts / jquery-1.7.1.js 
$第611行第6栏未处理的异常b $ b 0x80020101 - 由于





$ b折叠|错误80020101无法完成操作复制代码

(window.execScript || function(data){
window [eval] .call(window,data);
})(data);







[edit]已添加代码块[/ edit]


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 );




[edit]Code block added[/edit]

解决方案

( "#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 );




[edit]Code block added[/edit]


这篇关于MVC4 Mobile中的日期选择器问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆