You should setup client-side onclick event for evry <tr>. In the event
handler you can change bgcolor for the new-clicked row and restore normal
color for the previously clicked row. Store the reference to the
previously-clicked row in a javascript variable.
Eliyahu
"Charles Shao" <ad****@263.net> wrote in message
news:OK**************@TK2MSFTNGP15.phx.gbl...
How to chang bgcolor of row when mouse selected a row?
I have a HTML table in the page. I hope to change <tr.bgcolor> when user
clicks on a column, just like user has selected this row.
How can I do that ?
Thanks
Charles Shao:-)