Changing table row background in OnMouseOver

Hello,
I'm totally new to JavaScript. I have one question. How can I change color of table row when mouse gets over this row? This row cannot be identificated by its name. Is possible to refer on it trough its ID? Or is there any other way how to do it?

Thanks in advance

Comments

  • Pretty easily.

    Using the this keyword will fire the specified event (changing the background color) when the event occurs (onmouseover)

    Eg.


    Highlight Table Row
       
       
       
       

    : Hello,
    : I'm totally new to JavaScript. I have one question. How can I change color of table row when mouse gets over this row? This row cannot be identificated by its name. Is possible to refer on it trough its ID? Or is there any other way how to do it?
    :
    : Thanks in advance
    :
    :

    [hr][grey]To err is human, but to really foul things up requires a computer. (Farmers Almanac)[/grey] :-)

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion