How to select all <li> in an <ul> with a classname &ldquo;nav&rdquo;?

Orallelrygs

New Member
Having a real hard time with this since I'm new to jQuery, but I'm not sure whether the tutorial I'm working on is broken or if it's me but I'm using the following code to select all li in an ul with a class of nav.\[code\]$(".nav ul li");\[/code\]Is this correct? Could someone point me in the right direction?
 
Back
Top