您的位置:首页 > 移动开发 > Objective-C

Javascript 对象不支持此属性或方法,Object doesn’t support this property or method

2008-05-24 11:43 961 查看
中文

Microsoft 对VBscript出现这种错误的解释

Visual Basic 参考:错误消息. 对象不支持此属性或方法(Visual Basic). 为此自动化对象指定的方法或属性不存在

English

Object doesn't support this property or method (Visual Basic) You specified a method or property that does not exist for this automation object. Ok, I was coding some javascript for an intranet application and I kept getting this error: “Object doesn’t support this property or method”. I was just using a button with an onclick event to call a function to close a record through a AJAX call. I reduced the function down to just an alert(”hello”) and still was getting this error. Stepping forward to the issue, I was calling a function, “closeRec(var1,var2)” and had a form with an ‘id=”closeRec”. For some reason, maybe a good reason, in IE this causes this very generic ERROR. This is a case sensitive issue as ‘id=”CloseRec” does not initiate the error. If you have a good explanation for this error “Object doesn’t support this property or method” in IE please respond. (I Didn’t try FireFox)

Related Articles

http://classicasp.aspfaq.com/general/why-do-i-get-object-doesn-t-support-this-property-or-method-errors.html

http://www.javascriptjunkie.com/?p=12
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐