72
rated 0 times
[
74]
[
2]
/ answers: 1 / hits: 45467
/ 15 Years ago, fri, may 15, 2009, 12:00:00
I have an element grabbed from document.getElementById('the_id')
. How can I get its next sibling and hide it? I tried this but it didn't work:
elem.nextSibling.style.display = 'none';
Firebug error was elem.nextSibling.style is undefined
.
More From » element