<td><input id=
<script type=
function chkAll()
{
//debugger;
var chkall= document
var chkother= document
for (var i=
{
if( chkother[i]
{
if(chkother[i]
{
if(chkall
{
chkother[i]
}
else
{
chkother[i]
}
}
}
}
}
</script>
From:http://tw.wingwit.com/Article/program/net/201311/11701.html