确定是否删除javaScript
<script language="javascript" type="text/javascript">
function del() {
var msg = "您真的确定要删除吗?\n\n请确认!";
if (confirm(msg)==true){
return true;
}else{
return false;
}
}
</script>
连接:
<a href='<html:rewrite action="/control/module/manage"/>?method=delete&id=${module.id}' onclick="javascript:return del()">删除回钦波模块</a></td>