<a href="javascript:search()" onclick="">查询</a>
要写在onclick中不需要javascript指令
<a href="#" onclick="search()return false">查询</a>
应该这样:
$info$doc = "<a href='delete.php?bh=" . $info['id'] . "'>del</a>"
echo '<th><a href="deladmininfo.php?ID='.$result["ID"].'" onclick="return confirm(\'确定删除吗?\')">删除</a></th>'欢迎分享,转载请注明来源:优选云