>>I need to select the top 3 best performace value in the column and then highlight the entire rows in different colours. Can any one help me in doing it?
Are the rows displayed according to this performance order ? If yes, I'd just use the current row to assign a class to the TD, ie <TD CLASS="#currentRow#> and define classes 1, 2 and 3 with the desired background colors. Classes 4, 5, etc won't be defined, then ignored. If the query is not ordered that way, use a QoQ to get the 3 top rows and test each row if it is in this top list. >>My server can run only Javascript and coldfusion, No Ajax/PHP. Javascript is not run on your server, but on client side, and Ajax is only Javascript, and has nothing to do with PHP. But you won't need Javascipt here anyway. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/javascript/message.cfm/messageid:6404 Subscription: http://www.houseoffusion.com/groups/javascript/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/javascript/unsubscribe.cfm
