<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">&…
function checkAll() { //把所有参与选择的checkbox使用相同的name,这里为"num_iid" var eles = document.getElementsByName("num_iid"); var i = 0; // 如果是全选状态,则取消所有的选择 if (isSelectAll() == true) { for ( i = 0; i < eles.length; i++) { eles[i].ch…