读书人

iframe 怎么获取框架外的ID值

发布时间: 2013-08-04 18:26:16 作者: rapoo

求助 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>

这招绝

读书人网 >ASP

热点推荐