Mayur  Gujrathi

Mayur Gujrathi

  • 379
  • 4.1k
  • 1m

change background colour

Apr 7 2011 5:15 AM
background colour not changing on mouseover
please suggest


<table align="left" class="clsborder" border="0"  cellpadding="0" cellspacing="0"  >
        <tr class="grhd">
                     <th class="grhd" align="left" style="height: 17px; width:10%">STATE</th>                    
        </tr>
                <tr ondblclick="getvalues(this);" onmouseover="this.bgColor='gold';" >       
                          <td class="clstd" style="height: 17px; width:10%">ANDHRA PRADESH</td>
                </tr>              
                <tr ondblclick="getvalues(this);" onmouseover="this.bgColor='gold';"  >       
                          <td class="clstd" style="height: 17px; width:10%">ARUNACHAL PRADESH</td>
                </tr>
                <tr ondblclick="getvalues(this);" onmouseover="this.bgColor='gold';" >
                          <td class="clstd" style="height: 17px; width:10%">ASSAM</td>
                </tr>
                <tr ondblclick="getvalues(this);" onmouseover="this.bgColor='gold';" >
                          <td class="clstd" style="height: 17px; width:10%">BIHAR</td>
                </tr>

</table> 

Answers (5)