confirm弹框实例
$.messager.confirm("提示","增加会员成功!",function(data){
if(data){
location.href='../../system/getMemberList.action';
}
if(data){
location.href='../../system/getMemberList.action';
}
});
if(confirm("确定提交该友情链接吗?"))
{
//theForm.target="hiddenFrame";
f.target = "_self";
if(f.id.value==0)
f.action="/sys/member/detail_member.jsp";
else
f.action="/sys/member/detail_member.jsp";
f.submit();
// wait();
}