后:
function " + this.ID + @"_checkall(obj,parentNo)
{
" + this.ID + @"_checkvalue(obj)
var arry = document.getElementsByTagName('input');
for (var i=0; i<arry.length; i++)
{
if (arry[i].type == 'checkbox')
{
if (arry[i].id.indexOf(parentNo+'_') == 0)
if (arry[i].checked != obj.checked) arry[i].checked =obj.checked;
}
}
}