Do you know how to use jQuery to add a class to the link immediately following the "current" element in pagination? I've tried using ".pagination > .current > a" but it's not working. Any suggestions?
<div class="pagination">
<span class="current">1</span> |
<span><a href="#">2</a></span> |
<span><a href="#">3</a></span> |
<span><a href="#">4</a></span> |
<span><a href="#">5</a></span>
</div>