如何对old.jsp中的按钮(query)操作,弹出新的jsp页面new.jsp.在线等
要求:1,点击按钮之后,执行查询功能:function querybotton(){ };
2,查询的结果显示在new.jsp中,
<table width="459" border="1">
<tr bgcolor="#CCCCFF">
<td width="160">位数</td>
<td width="151">用户账号</td>
<td width="126">时间</td>
</tr>
while(rs.next()){
<tr>
<td width="160"><%=rs("userid")%></td>
<td width="151"><%=rs("useraccount")%></td>
<td width="126"><%=rs("userinsertdate")%></td>
</tr>
}
我是新手,没有头绪,请指点下,详细点最好。