G
Gandalf
I recently discovered that TR can have background property in simple
html and in CSS but when i tried to reach TR element through
javascript document.getElementById(TR_id).style.background or
document.getElementById(TR_id).background it doesn't work.
someone know how can I reach this property through javascript
p.s (in this case i can't use the td class name to reach a specific
row background like this :
if(document.getElementsByTagName('td')[x].headers=='class_'+z)
document.getElementsByTagName('td')[x].style.background=' '
)
thanks !
html and in CSS but when i tried to reach TR element through
javascript document.getElementById(TR_id).style.background or
document.getElementById(TR_id).background it doesn't work.
someone know how can I reach this property through javascript
p.s (in this case i can't use the td class name to reach a specific
row background like this :
if(document.getElementsByTagName('td')[x].headers=='class_'+z)
document.getElementsByTagName('td')[x].style.background=' '
)
thanks !