this is my html code :
<frameset rows="18,*" frameborder=0 framespacing=0>
<frame src="/zh-cn/MapS/MainTop/" noresize scrolling=no>
<frameset cols="0,*,210" name="menu">
<frame src="/zh-cn/MapS/MainLeft/" scrolling=no noresize>
<frame src="/zh-cn/MapS/Watch/" name="desk">
<frame src="/zh-cn/MapS/RightMenu/" scrolling=no noresize>
</frameset>
</frameset>
and this is the javascript code in on frame :
parent.parent.frames[2].frames[0]
i want to know which name is this frame ,
i do this :
console.log(parent.parent.frames[2].frames[0].nodename)
it show:
undefined
so what can i do ,
thanks