niente, ancora non riesco a cambiare il colore del campo di testo e sto usando questo codice:
<form id="form1" name="form1" method="post" action="">
<input type="radio" name="anticipo_hotel" value="0" onclick="document.getElementById('anticipo').readO nly=!this.checked">
</p>
<input type="radio" name="anticipo_hotel" value="1" onclick="document.getElementById('anticipo').readO nly=this.checked;document.getElementById('anticipo ').style.backgroundColor=#ffff00">
</p>
<input type="radio" name="anticipo_hotel" value="2" onclick="document.getElementById('anticipo').readO nly=!this.checked">
</p>
<input name="anticipo" id="anticipo" type="text" />
</p>
</form>
qualcuno sa dirmi come fare?

Rispondi quotando