Meaningless Drivel is fun!*
The moose likes HTML, CSS and JavaScript and the fly likes highlight a row when it is clicked Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "highlight a row when it is clicked" Watch "highlight a row when it is clicked" New topic
Author

highlight a row when it is clicked

kris sagi
Greenhorn

Joined: May 18, 2006
Posts: 2
Can anyone please let me know how to hightlight a selected row in HTML

thanks.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Look at this

http://radio.javaranch.com/pascarello/2004/12/30/1104419159000.html

Eric
kris sagi
Greenhorn

Joined: May 18, 2006
Posts: 2
Thanks for quick response Eric, but my problem is of 2 steps.

(i) First highlight the row that is clicked.
(ii)When another row is clicked , remove the previous highlight and highlight the present row.

Sorry for not mentioning my problem clearly
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: highlight a row when it is clicked