Color « Table « JSP-Servlet Q&A





<%int x=0;%> ...

1. Color Table Rows Based on a Field Value    coderanch.com

I am using JSTL to build a table on my HTML page. How can I use the value of a field to set the back ground color of the row as the table is built? This is part of my HTML code. <%int y=2;%>

2. Coloring Table Rows    coderanch.com

I am using jstl to build a table into my html page. One of the columns contains a priority number. I use javascript to read this number(innerHTML) and turn the rows specific colors. Is there a way to hide the column that I am using for priority. It does not affect anything just looks odd and really no need to display. ...