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

求助 iframe 如何获取框架外的ID值
iframe 如何获取框架外的ID值,如下:

<a href="Fzwlt_List.asp?MusicNO=<%=rs("MusicNO")%>">测试</a>

在下面的框中如何获取到这个MusicNO值,用常规的获取不到

<iframe name="MusicNO" id="MusicNO" src="Fzwlt_ListContent.asp?MusicNO=request("MusicNO")" name="leftframe" style="width:100%;height:800px;align:center;" scrolling="no" frameborder="no" allowTransparency="true"></iframe>

望高人指点,希望给个详细代码,谢谢

------解决方案--------------------


<iframe name="MusicNO" id="MusicNO" src="Fzwlt_ListContent.asp?MusicNO=<%=rs("MusicNO")%>" name="leftframe" style="width:100%;height:800px;align:center;" scrolling="no" frameborder="no" allowTransparency="true"></iframe>
------解决方案--------------------
引用:
<iframe name="MusicNO" id="MusicNO" src="Fzwlt_ListContent.asp?MusicNO=<%=rs("MusicNO")%>" name="leftframe" style="width:100%;height:800px;align:center;" scrolling="no" frameborder="no" allowTransparency="true"></iframe>

这招绝