call the function loadTree(treeviewId) when body is loaded <body onload="loadTree('tvSelect')"> function loadTree(id) { if (navigator.appName != "Netscape") return; var treeClientId = id; var tree = document.getElementById(id); d…
js函数 复制代码 代码如下: <script type="text/javascript"> function checkAll(name) { var el = document.getElementsByTagName('input'); var len = el.length; for(var i=0; i<len; i++) { if((el[i].type=="checkbox") && (el[i].name==nam…