- 论坛徽章:
- 0
|
function confirmDelete(frm){
delid = false;
var pld = "";
var pld_name = "";
for(var i=0;i< frm.userIds.length; i++){
pld_name = pld_name + "," + frm.pld_username[i].value;
if(frm.userIds[i].checked == true){
pld = pld + "," + i;
delid = true;
}
}
if(delid == false){
alert("请选择要删除的用户");
return false;
}
var sure = window.confirm("确定删除所选择记录?);
if(sure){
// frm.target="_blank";
document.del_form.submit();
location.reload();
window.open('https://192.168.32.180/session_set.php?all_name=pld_name()&userid=pld()&action=userdel' ,'userdel','toolbar=no,scrollbars=yes,menubar=no,width=500,height=300');
}
}
这样传参数,在session_set.php里得到的是错误的,不是js函数中的变量! |
|