日期:2014-05-16  浏览次数:20427 次

fire下无法如何获取框架ID
Response.Write( " <script> top.document.frames[ 'lframe '].location= 'left.aspx ' </script> ");
这句在ie中能实现左边框架location,可是用firefox浏览的话却提示:
top.document.frames   has   no   properties

请问这是什么问题?怎么才能解决?谢谢?

------解决方案--------------------
top.document.frames[ 'lframe '].location换为
top.document.frames[ 'lframe '].document.location试试
------解决方案--------------------
huo789(爱拼才会赢) 正解,有些用法ie 和fx是不一样的。。fx严格遵守w3c标准。。可以查阅相关文档