<a href="#" onclick="javascript:search();">查询<a> 调用function search(){alert('

宝宝妈妈2023-06-03  56

这个你写错了javascript指令要用在href中

<a href="javascript:search()" onclick="">查询</a>

要写在onclick中不需要javascript指令

<a href="#" onclick="search()return false">查询</a>

out.print("<TD ><a href=\"39.jsp?Student_id="+rs.getLong(1)+"\">修改资料</a></td>")


转载请注明原文地址:https://54852.com/read/743228.html