页面不刷新,提交表单

表单提交的时候,提交到ifrmae页面中,本页面不刷新,然后在iframe页面中接收(象平常发送到第二页面一样接收),就可以了

<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>

<body>
<form name="form1" method="post" action="abc_update" target="upload">
  <p>
    <input type="text" name="textfield">
  </p>
  <p>
    <input type="text" name="textfield2">
  </p>
  <p>
    <input type="submit" name="Submit" value="提交">
  </p>
</form>
<iframe src="abc_update.asp" mce_src="abc_update.asp" name=update height=0 width="0"></iframe>
</body>
</html>

posted @ 2008-05-19 16:13  Lee Vane  阅读(537)  评论(9)    收藏  举报