I am selected. Click next to find the href of the next one.
second link
third link
next
$("a.next").click( function() { alert( $("ul a.selected").parent().next("li").children("a:first").attr("href") ); });