B
Bzi99
Hi!
Since my blog host doesn't permit me to use a <div id="name"> but
only <div class="name">, I had to change a JS I had from:
document.getElementsById("name").style.display='';
to the cumbersome:
document.getElementsByTagName("div").namedItem("name").style.display='';
This works great in Firefox but not in IE5/6. Does anyone know of an
alternative to namedItem() in weird world of IE DOM?
Thanks in advance,
Rui C. P.
Since my blog host doesn't permit me to use a <div id="name"> but
only <div class="name">, I had to change a JS I had from:
document.getElementsById("name").style.display='';
to the cumbersome:
document.getElementsByTagName("div").namedItem("name").style.display='';
This works great in Firefox but not in IE5/6. Does anyone know of an
alternative to namedItem() in weird world of IE DOM?
Thanks in advance,
Rui C. P.