有两个页面:
页面A.aspx主要代码:
<table>
<tr>
<td>
<input type = button id = 1 >测试1</input type>
</td>
<td>
<input type = button id = 2 >测试2</input type>
</td>
</tr>
<tr>
<td>
<iframe id =2 src = 'b.aspx'> </iframe>
</td>
</tr>
</table>页面B.aspx主要代码
<table>
<tr>
<td>
<input type = button id = button3 >测试2</input type> </td>
</tr>
<tr>
<td>
<iframe src = 'test.aspx' id =ifrmB></iframe>
</td>
</tr>
</table>
我想实现下面的一个功能:
1,我点按纽“测试1”的时候,ifrmB的src设置成1.aspx,我点按纽“测试2”的时候,ifrmB的src设置成2.aspx.
有人知道怎么做吗,告诉我一下。在线等候。
页面A.aspx主要代码:
<table>
<tr>
<td>
<input type = button id = 1 >测试1</input type>
</td>
<td>
<input type = button id = 2 >测试2</input type>
</td>
</tr>
<tr>
<td>
<iframe id =2 src = 'b.aspx'> </iframe>
</td>
</tr>
</table>页面B.aspx主要代码
<table>
<tr>
<td>
<input type = button id = button3 >测试2</input type> </td>
</tr>
<tr>
<td>
<iframe src = 'test.aspx' id =ifrmB></iframe>
</td>
</tr>
</table>
我想实现下面的一个功能:
1,我点按纽“测试1”的时候,ifrmB的src设置成1.aspx,我点按纽“测试2”的时候,ifrmB的src设置成2.aspx.
有人知道怎么做吗,告诉我一下。在线等候。
解决方案 »
- 数据导入excel并打印预览
- 求: asp.net 2.0 中文视频教程 下载地址.
- 哪一位大哥能帮我写一个简单的javascript脚本
- ASP新手请教一个难题
- asp.net2.0入门经典(第四版)是用VB还是用C#
- ■■有没好的聊天室源代码参考一下?
- ---ASP.Net 后台怎么控制div的显示和隐藏---
- 怎么统计客户端是否安装了alexa工具条。?
- 高价购买ioffice.net 2003或2004全源码版. 联系:QQ116688802 或[email protected]
- 模式对话框为什么取不到Session的值?
- ASP.NET访问SQL数据库的问题,是在连接上的!!
- 新手问题!紧急求助!asp网战后台编写问题?
public string url=null;然后在button的点击事件给url附值