Howdy all,
I was wondering.. with the below code.. why the table's cell data doesn't disappear as I would expect it to?
Code:function HideTables() { var divtags = document.getElementsByTagName("div"); for (i=0;i<num_Tabs;++i) { var tables = divtags[i].getAttribute("tabletag"); if (tables=="table") {} divtags[i].style.display="none"; } }Clearly I'm not meant for web design..Code:<div id="HomeTable" tabletag="table"> This text should disappear.. ?!?!?!?!?! </div>
chem





Reply With Quote