Microsoft JScript运行时错误:对象不支持此属性或方法Date Picker [英] Microsoft JScript runtime error: Object doesn't support this property or method Date Picker

查看:288
本文介绍了Microsoft JScript运行时错误:对象不支持此属性或方法Date Picker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的jquery日期选择器仅在我的MVC4 Mob应用程序的第一页上工作







My jquery date picker is worked in 1st page only of my MVC4 Mob app



<input type="text" id="datepicker"   name="datepicker" style="width:100px;float:left;"/>


<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>

<script>
$( "#datepicker" ).datepicker();
</script>







我在第二个导航页面中添加了相同的代码,但出现以下错误





http:// localhost:64431 / Scripts / jquery-1.7.1.js


0x80020101 - 由于错误80020101无法完成操作。








I added the same code in 2nd navigated page,but got the following error


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.


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

推荐答案

( #datepicker)。datepicker();
< / script >
( "#datepicker" ).datepicker(); </script>







我在第二个导航页面中添加了相同的代码,但出现以下错误





http:// localhost:64431 / Scripts / jquery-1.7.1.js


0x80020101 - 由于错误80020101无法完成操作。








I added the same code in 2nd navigated page,but got the following error


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.


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


错误80020101只是意味着有是一个错误 - 不清楚对象不支持此属性或方法datepicker的消息来自

看看这些帖子,看看你是否可以追踪它

http://mattwhite.me/blog/2010/4/21/tracking -down-error-80020101-in-internet-exploder.html [ ^ ]

http://stackoverflow.com/questions/4918969/ajax-request-problem-error-80020101 [ ^ ]

http://forums.asp.net/t/1882176.aspx/1 [ ^ ]
Error 80020101 just means "there has been an error" - it's not clear where the "Object doesn't support this property or method datepicker" message came from
Have a look at these posts to see if you can track it down
http://mattwhite.me/blog/2010/4/21/tracking-down-error-80020101-in-internet-exploder.html[^]
http://stackoverflow.com/questions/4918969/ajax-request-problem-error-80020101[^]
http://forums.asp.net/t/1882176.aspx/1[^]


这篇关于Microsoft JScript运行时错误:对象不支持此属性或方法Date Picker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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