摘要:
CREATE TABLE test_main (id INT,value VARCHAR(10),PRIMARY KEY(id) )-- 创建测试子表. CREATE TABLE test_sub (id INT,main_id INT,value VARCHAR(10),PRIMARY KEY(id) )-- 插入测试主表数据.INSERT INTO test_main(id, value) VALUES (1, 'ONE');INSERT INTO test_main(id, value) VALUES (2, 'TWO');-- 插入测试子表数据.INSE 阅读全文
摘要:
<script language="javascript" type="text/javascript"> function checkAll(chkContent) { var chkArray = document.getElementsByTagName("INPUT"); var isCheck = chkContent.checked; for(var i = 0; i < chkArray.length; i++) { if(chkArray[i].type != "check... 阅读全文