等待中 急问 jsp中调用js中的一个函数  为什么参数传递不是本身的参数啊
jsp页面如下:
<%
   String id=(String)session.getAttribute("uid");
    StuInfDAO stuinfdao = new StuInfDAO();  
    PageHelp pagehelp=null;
    List list = null;
    pagehelp=(PageHelp)request.getAttribute("pagehelp");
     if(pagehelp==null){
      //System.out.println("起始页");
         int currentPage=1;
         pagehelp =stuinfdao.queryInfo(" ",currentPage);
      }
	list=pagehelp.getObjectlist();  
   %>      
     <form name="search" method="post" action="./servlet/ReinfServlet" target="_self"  onSubmit="return docheck()">
	<input type="hidden" name="opflag" value="search">
	<table   align="center"  >  
      <tr>
        <td height="40" colspan="29" align="center"> <font size="5" face="华文楷体"><strong>学生信息</strong></font></td>
      </tr>
      <tr>
      <td height="10" colspan="3"><div align="center"></div></td>
    </tr>
    <tr>
	<td align="right">学号:<input type="text" style="width:80px;height:20px;" name="sID" ></td>
	<td align="right">年级:<input type="text" style="width:80px;height:20px;" name="sgrade" ></td>
	<td align="right">专业:<input type="text" style="width:80px;height:20px;" name="smajor" ></td>
	<td align="right">性别:<input type="text" style="width:80px;height:20px;" name="ssex" ></td>
	<td align="right">学历:<input type="text" style="width:80px;height:20px;" name="sdegree" ></td>
	<td><input type="submit"  value="查询"></td>
	</tr>
	<tr>
      <td height="5" colspan="3"><div align="center"></div></td>
    </tr>
      </table>
      </form>      
     <form name="AllInfo" action="AllStu.jsp">
      <table   align="center"   border="1">  
      <tr>
      <td width="80" ><div align="center"><font size="2" face="宋体"><strong>学号</strong></font></div></td>
      <td width="80" ><div align="center"><font size="2" face="宋体"><strong>姓名</strong></font></div></td>
      <td width="40" ><div align="center"><font size="2" face="宋体"><strong>性别</strong></font></div></td>
      <td width="40" ><div align="center"><font size="2" face="宋体"><strong>年级</strong></font></div></td>
      <td width="50" ><div align="center"><font size="2" face="宋体"><strong>专业</strong></font></div></td>
      <td width="40" ><div align="center"><font size="2" face="宋体"><strong>学历</strong></font></div&g