<table class="table">
<tbody>
<tr data-url="some_url1">
<td>39401602</td>
<td>6/21/2013</td>
<td class="text-primary">Open</td>
<td>$79.99</td>
<td>Amazing Widget (16 GB, White)</td>
<td>Johnathan Doe</td>
<td class="text-right none"> <a href="#" class="tick_icon gridneed_icon"></a>
<a class="col-md-offset-1 cross_icon gridneed_icon" data-toggle="modal" href="#deleteproduct"></a>
</td>
</tr>
<tr data-url="some_url2">
<td>39401602</td>
<td>6/21/2013</td>
<td class="text-primary">Open</td>
<td>$79.99</td>
<td>Amazing Widget (16 GB, White)</td>
<td>Johnathan Doe</td>
<td class="text-right none"> <a href="#" class="tick_icon gridneed_icon"></a>
<a class="col-md-offset-1 cross_icon gridneed_icon" data-toggle="modal" href="#deleteproduct"></a>
</td>
</tr>
</tbody>
</table>
$(function () {
$('table.table tr').click(function () {
window.location.href = $(this).data('url');
});
})
Code Example |
---|
Html :: the <video tag |
Html :: radio button bootstrap |
Html :: basic html boilerplate |
Html :: react select, option |
Html :: html preview pdf file |
Html :: les cercle en html |
Html :: color selector html |
Html :: etiqueta negritahtml |
Html :: how to display image in div using id in html |
Html :: html file path |
Html :: html default arrow remove |
Html :: group checkbox html |
Html :: vertical line navigation bar |
Html :: HTML <strong Elements |
Html :: link that scrolls down the page |
Html :: how to customize button in html |
Html :: html admin template free |
Html :: html <mark |
Html :: aria list |
Html :: html image buffer to base64 |
Html :: what is the code element in html |
Html :: html peseta |
Html :: iframe ember pdf |
Html :: html color picker snippet |
Html :: Reformat a python table in a html file |
Html :: make an drodown menu |
Html :: collapse boostrap |
Html :: javascript update number |
Html :: tailwind height |
Html :: leaderboard html |