testA.jsp页面:
<%@ page contentType="text/html;charset=GBK" %>
<head>示例
</head>
<body scroll=no>
<form name="frma" method="post" action="testB.jsp" >
你的姓名:
<input type="text" size="15" name="yourName" value="" id=yourName>
<input type="button" align="center" name="subBtn" value="提交" onClick="f_check()" id=subBtn>
</form>
</body>
<script language="JavaScript" type="text/javascript">