<script type="text/javascript">
function p_del() {
?? var msg = "您真的确定要删除吗?\n\n请确认!";
?? if (confirm(msg)==true){
??? return true;
?? }else{
??? return false;
?? }
??? }
function del() {
?? if(p_del()){
?? var cArr = document.getElementsByName("ids");
?? var count = 0;
?? for (var i=0; i<cArr.length; i++) {
??? if (cArr[i].checked == true) {
???? count++;
??? }
?? }
?? if (count > 0) {
??? oper.value = "del";
???
??? prodstateForm.submit();
?? }
}
}
</script>
?
1 楼
vito_cai1988
2011-12-06
del