my major code could be:
var oDiv = document.getElementById("div1");
<td><div id="div1">this is a test</div></td>
my question is how to reference the <td> cell if i need to change its background color? is there something like oDiv.parentNode??
thanks a lot! 300 points will be awarded asap.