since i don't know very much of anything about javascript.. can i do something like document.getElementById("main,images").getElementsByTagName("div"); to define multiple ids? or would i have to restate the first three lines in the {}s? or all of the {}? :blink:
Question
sukamusiru
since i don't know very much of anything about javascript.. can i do something like document.getElementById("main,images").getElementsByTagName("div"); to define multiple ids? or would i have to restate the first three lines in the {}s? or all of the {}? :blink:
<script type="text/javascript"> function SetFocus( strFrameID ) ?{ ? ?var Frames = document.getElementById("main").getElementsByTagName("div"); ? ?for( var ii=0; ii<Frames.length; ii++ ) ? ? ?Frames[ii].style.visibility = "hidden"; ? ?document.getElementById( strFrameID ).style.visibility = "visible"; ?} </script>Link to comment
Share on other sites
0 answers to this question
Recommended Posts