yuri1992
Mar 16th 2008, 8:50 am
in the html file i have this code:
how i change the color of the td ?
HTML Code:
<table width=600 id=games>
<td id=2_$id style='background-color:'
onclick='bet_detils($teamav, $id, $x2);'>
<B>
<font face=Arial size=1 color=bb2618>
<div align=right><a href='javascript: void(0);'>$teamav</a></td>
in the java i have this....
function bet_detils(yahs,idz,chose)
{
var idfinish=chose+'_'+idz;
idfinish.style.backgroundcolor=blue;
}
how i call to the this td from a function
how i change the color of the td ?
HTML Code:
<table width=600 id=games>
<td id=2_$id style='background-color:'
onclick='bet_detils($teamav, $id, $x2);'>
<B>
<font face=Arial size=1 color=bb2618>
<div align=right><a href='javascript: void(0);'>$teamav</a></td>
in the java i have this....
function bet_detils(yahs,idz,chose)
{
var idfinish=chose+'_'+idz;
idfinish.style.backgroundcolor=blue;
}
how i call to the this td from a function