Sunday, December 27, 2009

[jQuery] Finding next element

Hello.

Example:

<ul>
<li><a></li>
<li><a class="active"></li>
<li><a></li>
</ul>

How would I be able to get find the next or previous <a> in relation
to the <a class="active">?

I'd appreciate it if anybody could help me out with this. Thanks in
advance.

No comments: