Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Table

 
Mahesh Malviya
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

There are number of rows in a table in a html page.
I want to change the color of the row(<tr> in which my mouse comes and its colour should become as it is when mouse moves out of the row.
I have trapped both in and out events of the mouse when it moves in the row and goes out of the row. But what java script code should I write to show one row coloured when mouse moves on the row.

Thanks
Mahesh Malviya
 
Eric Pascarello
author
Rancher
Posts: 15385
6
 
Mahesh Malviya
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot.

Mahesh Malviya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic