$(document).ready(function() { $("#mytable1 tr:has(td)").mouseover(function(e) { $(this).css("cursor", "pointer"); }); });
<table id="mytable1" table-layout="fixed" width="100%" style="margin-top: 0px; float:top;"> <tr> <td><span>Design Code : A0001</span></td> <td><span>Design Code : A0002</span></td> </tr> <tr> <td><a><img src="Images/Img1.jpg"></a></td> <td><a><img src="Images/Img2.jpg"></a></td> </tr> <tr> <td><span>Colour : Wite</span></td> <td><span>Colour : Red</span></td> </tr> </table>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)