Hi!
I am sure that question was already asked (I tried the search engine and I was not find the answer) so sorry to re-ask it again.
I have a <TD> defined like this:
<TD WIDTH="20" ROWSPAN="2" ALIGN="center" ID="test" STYLE="background: Red;">
And I want to be able on an onClick event to change the TD background color.
I tried this:
<A onClick="test.background=003399;">
It's not giving me any error but the background color is not changing...
Please help me fix this...
Thanks...
Chris ;-)
I am sure that question was already asked (I tried the search engine and I was not find the answer) so sorry to re-ask it again.
I have a <TD> defined like this:
<TD WIDTH="20" ROWSPAN="2" ALIGN="center" ID="test" STYLE="background: Red;">
And I want to be able on an onClick event to change the TD background color.
I tried this:
<A onClick="test.background=003399;">
It's not giving me any error but the background color is not changing...
Please help me fix this...
Thanks...
Chris ;-)