<body> 
  <input type="button" name="Submit" value="按钮" onClick="javascript:document.getElementById('Material').src='main.HTML'"> 
                  
<IFRAME id="Material" SRC="" FRAMEBORDER="0" SCROLLING="no" WIDTH="100%" HEIGHT="270"> </IFRAME> 
</body> 

解决方案 »

  1.   

    不知道是不是你想要的结果。
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>无标题文档</title></head><body>
    <form id="form1" name="form1" method="post" action="http://www.doulaicha.com" target="Material">
      <input type="submit" name="Submit" value="提交" />
    </form> 
    <IFRAME name="Material" SRC="" FRAMEBORDER="0" SCROLLING="no" WIDTH="100%" HEIGHT="270"> </IFRAME> </body>
    </html>
      

  2.   

    onclick="javascript:window.open('main.HTML','Material')"