Forum Moderators: open
I've never tempted javascript, so be nice when explaining it to a new guy. I'm assuming javascript would be the best way to accomplish this. This web site has got the right idea, but I couldn't figure out how to change the example code to work with my script.
<snipped url>
[edited by: whoisgregg at 1:55 pm (utc) on Nov. 6, 2009]
[edit reason] Whoops, no URLs please. See TOS [webmasterworld.com] :) [/edit]
Are you interested in reording the table rows based on user actions? For example, the user would enter a request number then, without the page refreshing, those rows would shift position and change their background color?
Or are you just looking to have alternating background colors, except for rows matching a specific value?
Also, how are you generating the table in the first place: using a server side language like PHP or manually by editing the HTML?