I have a big mysql database, that presents the data in a table. I want the user to be able to clicka certain row of data, and maybe have it highlight, or some sort of identifier to see what row the user is trying to view. So I guess my question is: how do I change the color of a <tr> without having to have the user click a submit button indicating a change?
Do you want to alternate that color of the <tr>, or do you want to have the tr lightup when the user has his/her mouse over it?
I would like to change the color of the <tr> selected, and when another <tr> is selected, change the original to the new. I would not mind trying the onmouseover, but is that possible without javascript, and strictly using PHP.
uh, no. you have to use javascript to do that
I wouldn't mind seeing the script in order to achieve this
Actually I don't have one.
The reason I was asking is because I do have one for alternating row colors. Wasn't quite sure what you meant.
Sorry.
I see what I can dig up though.