有两个页面:
页面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.
有人知道怎么做吗,告诉我一下。在线等候。