Hello all,
I was wondering how I'd get an alert of a last child by clicking a link.
<h3 id="comment:5" class="myclass">
This is how far I got:
$('#lastcomment').click(function() {
alert('Handler for .click() called.');
});
My aim is to jump to the last comment by clicking the link. An alert would be fine for the first step I guess. So that I can see the last child of the comments.
Any help is much appreciated.