Using jQuery, is there a quick way of knowing if an element is its parent's last child?
Example:
<ul>
<li id="a"></li>
<li id="b"></li>
<li id="c"></li>
</ul>
$('#b').isLastChild(); //should return FALSE
$('#c').isLastChild(); //should return TRUE