if(window.confirm('你确定要删除此条信息么')){ // window.open('delete.php'); location.href='delete.php'; return false; //不加这句不会跳转 }else { alert('点击了取消'); }
if(window.confirm('你确定要删除此条信息么')){ // window.open('delete.php'); location.href='delete.php'; return false; //不加这句不会跳转 }else { alert('点击了取消'); }