读书人

iframe接值有关问题

发布时间: 2012-03-06 20:47:55 作者: rapoo

iframe接值问题
index.asp中
<form name= 'frm1 '>
<iframe src= '1.asp ' id= "ifr1 " name= "ifr_name ">
</iframe>
</form>

1.asp中
<%
Response.write " <a href = '1.asp? flg= "& strflg & " '> 连接 </a> "
%>
点“连接”的时候在iframe中刷新1.asp页面, 如何能在1.asp中接到flg的值呢?
直接用Request.QueryString( "flg ")怎么不行呢
请各位高手指点

[解决办法]
改成这个试下:
Response.write " <a href = '1.asp '? flg= ' "& strflg & " '> 连接 </a> "

读书人网 >ASP

热点推荐