var arr1 = a.split("|");
for(var i=0;i
xmlhttp.open("POST","../php/s18.php",true)
xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
xmlhttp.onreadystatechange=chuli_18;
xmlhttp.send("aa="+aa);
}
}
checkbox为true的话 就把id传过来 然后删除checkbox对应的数据 如果是几个id 的话我怎么样发送才可以在php接到这些id 我现在3个只能拿到1个
3个id可以直接php/s18.php?id1=1&id2=2&id3=3这样直接传值过去了
也可以json数组传过去
var arr1 = a.split("|");
var s = '';
for(var i=0;i
s += '&aa[]='+aa;
}
}
xmlhttp.open("POST","../php/s18.php",true)
xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
xmlhttp.onreadystatechange=chuli_18;
xmlhttp.send(s.substr(1));
keyword:qwrap
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号