hi evenyone, im new to javascript.. im trying to create a page where when the user selects the colors the particular color should change but only the <table>
and its <td>
color should get changed on Click function any anyone pls help me in dis.. thanks in advance.
views:
43answers:
1
+3
A:
You can do something like this:
document.getElementById("table_id_here").style.backgroundColor = "#00ff00";
Sarfraz
2010-01-18 11:21:42