<script language="JavaScript">
function g()
{
//document.bg.backgroundColor = "#fffffff";
document.all.bg.style.backgroundColor = "#fffffff";
}
</script>
<table>
<tr>
<td id="bg" style="background: #000000;">---------</td>
</tr>
</table>
<a href="#" onclick="g()">Test</a>
ist das script nur geht es nicht
sollte eigendlich den hintergrund ändern.
einmal für IE und das mit den // ist NN
function g()
{
//document.bg.backgroundColor = "#fffffff";
document.all.bg.style.backgroundColor = "#fffffff";
}
</script>
<table>
<tr>
<td id="bg" style="background: #000000;">---------</td>
</tr>
</table>
<a href="#" onclick="g()">Test</a>
ist das script nur geht es nicht
sollte eigendlich den hintergrund ändern.
einmal für IE und das mit den // ist NN