Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
11-07-2008, 08:05 PM #1
Need help traversing an unordered list with jQuery
How do I access just the titles (ie 'Title 1', 'Title 2')? Every method I tried also includes the content.
I tried using: not('[li]") & parent()
This is an example list structure:
<ul id="mylist"> <li> Title 1 <ul> <li>Content 1</li> </ul> </li> <li>Title 2 <ul> <li>Content 2</li> </ul> </li> <li>Title 3 <ul> <li>Content 3</li> </ul> </li> </ul>
Which came first - the chicken or the egg? The egg... [ticket closed]
If a tree falls... does it make a sound? Yes.............. [ticket closed]