读书人

iframe 的传值到asp网页的 有关问题

发布时间: 2012-03-21 13:33:14 作者: rapoo

iframe 的传值到asp网页的 问题
我有网页 1.asp ,2.asp。在1.asp中iframe 2.ASP


1.asp中有 <input type= "text " name= "name ">

2.asp的内容如下:
通过读取数据库循环表格如下内容:

李墙
张三
赵五
丁二
....
.....
我的问题是:
如何点中iframe 2.ASP 中的名字后提交到1.asp的
<input type= "text " name= "name "> 中??

麻烦各位老大

[解决办法]
2.asp
如果你的1.asp <input type= "text " name= "name "> 外面有form的话
<a href= "javascript:parent.document.from.name.value= '张三 '; "> 张三 </a>
假如没有form
<a href= "javascript:parent.document.all.name.value= '张三 '; "> 张三 </a>

读书人网 >ASP

热点推荐