Say I have the following:
<ul> <li>First item</li> <li>Second item</li> <li>Third item</li> </ul>
How would I select all the child elements after the first one using jQuery? So I can achieve something like:
<ul> <li>First item</li> <li class='something'>Second item</li> <li class='something'>Third item</li> </ul>
You should be able to use the ‘not’ and ‘first child’ selectors.
http://docs.jquery.com/Selectors/not
http://docs.jquery.com/Selectors/firstChild