I have a hover fuction that returns a jquery object when it finds an anchor. What would be the test statement to see if the next ul has a class of 'secondary'?
Then if this is true I would display it. Thanks!
- <li><a href="#">Buy Tickets</a></li>
- <li><a href="#">Group Sales</a></li>
- <li>
- <a href="#">Reviews</a>
- <ul class="secondary">
- <li><a href="#">One</a></li>
- <li><a href="#">Two</a></li>
- <li><a href="#">Three</a></li>
- </ul>