<!DOCTY
PE HTML>
<html lang="en-US">
<head>
&nbs
p; <
;meta charset="utf-8">
<t
ITle>无刷新提交表单</title>
<style type="text/css">
ul{ list
-style
-type:none;}
</style>
</head>
<body>
<ifr
ame name="forms
ubmit" style="dis
play:none;">
</iframe>
<!-- 将form表单提交的窗口指向隐藏的ifrmae,并通过ifrmae提交数据。 -->
<form action="form.php" method="POST" name="formphp" t
arget="formsubmit">
<ul>
<li>
<label for="uname">用户名:</label>
<input type="text" name="uname" id="uname" />
</li>
<li>
<label for="pwd">密 码:</label>
<input type="password" name="pwd" id="pwd" />
</li>
<li>
<input type="submit" value="登录" />
</li>
</ul>
</form>
</body>
</html>