How to add the hyperlink in Table TR(row).

Through Post i guide how to add the hyperlink in Table TR(row).
HTML:

<tr data-href=’LINK GOES HERE’>
<td>piksals.com</td>
</tr>
CSS:*[data-href] {
cursor: pointer;
}

JQUERY:

$(function(){
$(‘*[data-href]’).click(function(){
window.location = $(this).data(‘href’);
return false;
});
});

Keep the eye on my blog:http://piksals.com