fwap: Farbänderung eines Tabellenhintergrund bei "onClick"

Beitrag lesen

Hi,

das sollte es eigentlich schon sein:

<html>
<body>
<table>
<tr>
<td id="td_1"><input type="radio" onClick="td = document.getElementById('td_1'); td.style.backgroundColor = '#FF0000'; "></td>
</tr>
</table>
</body>
</html>

MfG,
fwap