This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes How to highlight a particular row of DisplayTag table? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to highlight a particular row of DisplayTag table?" Watch "How to highlight a particular row of DisplayTag table?" New topic
Author

How to highlight a particular row of DisplayTag table?

Happy S Singh
Ranch Hand

Joined: Nov 14, 2011
Posts: 52
I want to highlight the DisplayTag's row which has value `'Total'` for this I was trying through javascript but I am uable to do that .Below is the snippet which I am using.Please guide.

I am getting the alert when there is Total in 2nd column but it does not get highlighted.

How to highlight a particular row which has value `Total` in 2nd column?






Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61310
    
  66

It'd be best to show the generated HTML rather than the server-side markup.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: How to highlight a particular row of DisplayTag table?