parent.parent.listfrm.document.location.href = "test.html"为什么这么写在WINXP中会出错?
frameA包括frameB,frameB包含listfrm和contfrm
在contfrm中有这样一段语句:
parent.parent.listfrm.document.location.href = "test.html"
在Window 2K中是正常的,但在WINXP却报错:
parent.parent.listfrm.document没有该对象
请问为什么?
标准的写法应是怎么写的?
window.parent.parent.listfrm.location.href也不行