tags:

views:

43

answers:

1

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.

+3  A: 

You can do something like this:

 document.getElementById("table_id_here").style.backgroundColor = "#00ff00";
Sarfraz