maunded
asked on
Change bgcolor on click...then change back....
Hi,
I have a table that is built dynamically with PHP that contains a link to change the location of an iframe. I want the tabel row to change color when this link is clicked, then if the use selects another link, that row changes colow, and the first will change back to its original.
How can I accomplish this?
Thanks!
I have a table that is built dynamically with PHP that contains a link to change the location of an iframe. I want the tabel row to change color when this link is clicked, then if the use selects another link, that row changes colow, and the first will change back to its original.
How can I accomplish this?
Thanks!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Cool...heres something I forgot to mention..whoops.
Each alternate row is a different color. This is done using a PHP script which changes the tr bgcolor property
Is there any way to pass that back to the unhighlightRows function?
Each alternate row is a different color. This is done using a PHP script which changes the tr bgcolor property
Is there any way to pass that back to the unhighlightRows function?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Excellent work gentlemen!!
Here is what it actually looks like: http://tech.irt.org/articles/js207/window.htm