日期:2014-05-17 浏览次数:20870 次
http://www.baidu.com/s?wd=jsp+%E5%88%A0%E9%99%A4+%E5%BC%B9%E5%87%BA%E5%AF%B9%E8%AF%9D%E6%A1%86&rsv_spt=1&issp=1&rsv_bp=0&ie=utf-8&tn=baiduhome_pg&inputT=12800
------解决方案--------------------
使用JS
http://www.baidu.com/s?wd=jsp+%E5%88%A0%E9%99%A4+%E5%BC%B9%E5%87%BA%E5%AF%B9%E8%AF%9D%E6%A1%86&rsv_spt=1&issp=1&rsv_bp=0&ie=utf-8&tn=baiduhome_pg&inputT=12800
------解决方案--------------------
js中用confirm
------解决方案--------------------
<a href="#" onclick="del();">删除</a>
<script>
function del(){
if(confirm("是否删除?")) window.location.href="del.jsp";
}
</script>
------解决方案--------------------
别忘了return false;