[jQuery] Find next element after
Is there a way to find the immediate next element after an element in question?
For example my HTML is:
<p class="foo"><a href="#">link</a>
<ul>
<li>text</li>
<li>text</li>
</ul>
What I'm trying to do is target and show the first and only <ul> after the link in p.foo has been clicked. I'm trying to do this without giving the <ul> and id, and there might be multiple combinations of these on the same page.
Any ideas? Thanks.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/