KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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 .
Tags (comma-separated)
Save Edits
Cancel