Table Row Highlight

Submitted by:Jhon Smith

Date added:26 April, 2012

Category:JavaScript

Code for Table Row Highlight By JavaScript

Tags: table row highlight

Code Snippet:

<table>
<tr>
<th>Name</th>
<th>Age</th>
<th>Job</th>
</tr>
<tr onMouseOver="this.style.background='#000000'; this.style.color='#FFFFFF'" onMouseOut="this.style.background='#FFFFFF';

this.style.color='#000000'">
<td>John</td>
<td>30</td>
<td>Programer</td>
<tr onMouseOver="this.style.background='#000000'; this.style.color='#FFFFFF'" onMouseOut="this.style.background='#FFFFFF';

this.style.color='#000000'">
<td>Robert</td>
<td>28</td>
<td>Product Testing</td>
</tr>
</table>
 
 

Comments