Topic awaiting preservation: How to get a sub-item? |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Berlin, Germany |
posted 01-09-2006 19:36
Hi! code: <ul id="item1"> <li>Name1 <ul> <li>Sub-Name1</li> <li>Sub-Name2</li> </ul> </ul>
|
Paranoid (IV) Mad Librarian From: Glieberlermany |
posted 01-09-2006 19:57
Hi u-neek, code: document.getElementById('item1').childNodes[1].style.
|