I have a table row that has background color on hover. When user clicks within the background color area, it should grab the link of the anchor tag inside the row and take the user there.. How do I do this?
<tr id="ClickableRow">
<td>
<a href="http://somesite.com">Go Here</a>
<p> To find about all the interestng animals found in this tourist attractions including
zebra, giraffe.....
....
</p>
</td>
</tr>
How do I grab the anchor tab href value ?
$('tr #ClickableRow').click(function () {
window.location.href=Anchor tag's href value
});