i have used javascript to create a table by DOM method
and append textnode to the cell
now i would like to ask how to change the cell color when user click on the cell
table_cell=document.createElement("td")
table_cell.setAttribute('onclick',"javascript: ....);