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
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
相关文章推荐
- Autopostback提示“该对象不支持此属性或方法”(Object doesn't support this property or method)
- Why Object doesn't support this property or method in Javascript?
- jQuery on IE8, error: Object doesn't support this property or method
- jQuery ajax BUG:object doesn't support this property or method
- getElementById Object doesn't support this property or method
- object doesn’t support this property or method
- ie6中 object doesn’t support this property or method
- PECMS上传图片时提示:Object doesn't support this property or method
- js报错 Object doesn't support this property or method的原因分析
- 使用juery时出现Object doesn't support this property or method的问题。
- XYTipsWindow、jquery-1.4.4.min.js和Object doesn't support this property or method 解决
- jqgrid Object does not support this property or method
- SP13使用JS读取social feed 时的报错 SCRIPT438: Object doesn't support property or method 'get_context
- Object doesn't support property or method 'validate' 错误
- Object doesn't support property or method 'die'
- javascript 对象属性property与元素属性attribute的浏览器支持
- 常见错误:JavaScript 提交form 的时候,Error:对象不支持此属性或方法
- flash和javascript交互时 出现“对象不支持此属性或方法”错误的解决方法
- JavaScript 正则表达式(RegExp对象、属性、方法、String支持)
- javascript的创建对象object.create()和属性检测hasOwnPrototype()和propertyIsEnumerable()