查看: 1098|回复: 8
|
object doesn't support this property or method.
[复制链接]
|
|
小弟我用 <BODY ONLOAD...> 将网页的 CHAINED SELECT FUNCTION 载入,我用 IE6.0 和 FIREFOX 来做TEST,FIREFOX 能完全运行这FUNCTION。。。然而IE却有ERROR:object doesn't support this property or method.
我用了整夜的时间还不能解决这问题,想请各大大帮帮我,谢谢! |
|
|
|
|
|
|
|
发表于 28-8-2006 12:00 PM
|
显示全部楼层
what is your source code? |
|
|
|
|
|
|
|
楼主 |
发表于 28-8-2006 12:28 PM
|
显示全部楼层
原帖由 8years 于 28-8-2006 12:00 PM 发表
what is your source code?
<body onload="iniList('chainedcombo', document.list0.firstlevel, document.list0.secondlevel, document.list0.thirdlevel)">
我想 SOURCE 应该没问题。。。因为 FIREFOX 能运行。
我是用 XOOPS 的 template 来嵌入以上的 code,所以template和要运行的document(php file)上是分类在不同的 FOLDER 里的
而且整个 function embed 在同一页(template没参在一起)的IE运行上也没问题。。。
希望您能明白我以上说的。。。谢~~ |
|
|
|
|
|
|
|
发表于 28-8-2006 03:11 PM
|
显示全部楼层
嗨!conmen80 兄,有一些 JavaScript 是不承受其它浏览器 (browser) 的。 |
|
|
|
|
|
|
|
发表于 28-8-2006 04:02 PM
|
显示全部楼层
object doesn't support this property or method
this error normaly mean one of the sub you specify in the object is not supported, it also mean the DOM object of IE and DOM object of Firefox is not same, so some can run in IE but Firefox cant and vise versa. |
|
|
|
|
|
|
|
发表于 28-8-2006 04:57 PM
|
显示全部楼层
Yeah。。。你是对的 8years 兄 |
|
|
|
|
|
|
|
楼主 |
发表于 28-8-2006 05:38 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 28-8-2006 07:55 PM
|
显示全部楼层
download different CHAINED SELECT FUNCTION , there is alot in google that can support IE & Firefox |
|
|
|
|
|
|
|
发表于 29-8-2006 11:07 AM
|
显示全部楼层
完全对 8years 兄 |
|
|
|
|
|
|
| |
本周最热论坛帖子
|