$('.active').prev()
$('.active').next()

Rate me please if I helped.

On Dec 28, 2:30 am, Toaster <mr.toas...@gmail.com> wrote:
> 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.

Reply via email to