function searchObjByTagName(obj, tag)
{
while(obj!=null && typeof(obj.tagName) != "undefind")
{
if(obj.tagName == tag.toUpperCase()) return(obj);
obj = obj.parentElement;
}
return null;
}var a = document.getElementsByName("hot")
for(var i=0; i<a.length; i++)
{
if(a[i].checked) searchObjByTagName(a[i], "TR").removeNode(true);
}
{
while(obj!=null && typeof(obj.tagName) != "undefind")
{
if(obj.tagName == tag.toUpperCase()) return(obj);
obj = obj.parentElement;
}
return null;
}var a = document.getElementsByName("hot")
for(var i=0; i<a.length; i++)
{
if(a[i].checked) searchObjByTagName(a[i], "TR").removeNode(true);
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货