Hi,
The following code won't work in IE. The alert reports x.length as zero. How can fix this?
DavidCode:function hideAll(name) { var x=document.getElementsByName(name); alert(x.length); for (var i=0;i<x.length;i++) { x[i].style.display='none'; } }



Reply With Quote




Bookmarks