if(confirm("您确定要删除吗?")){
//do something 执行删除操作.
window.location.href="<%=request.getContextPath()%>/truncatef21v.action";
}else{
return false;
}
[<a href="javascript:if(confirm('确实要屏蔽吗?'))location='<%=request.getContextPath()%>/***.action?fpid=${id }'">屏蔽</a>]