I have several divs like this:
<div class="MenuList"><a class="SiteLink" href="page.aspx">My Link</a></div>
The problem is that if the user clicks on the div but not on the text, the link won’t trigger. This is what I have so far:
$('#TopMenuBar .MenuList').click(function () {
//alert($(this).next('SiteLink').html());
});
What I’d like to do is extract the link from the anchor and go to the page.
Thanks for your suggestions.
1 Answer