wood burning stoves*
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: 60822
    
  65

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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to highlight a particular row of DisplayTag table?
 
Similar Threads
Validation For Appropriate File Browse And Its CheckBox
How to pass multiple parameters. Displaytag row value not changing on dynamic link
error onclick of radio button inside display tag
Exception in jsp: The content of elements must consist of well
struts display properties