Teraz chciałbym ,że jak wybiore input radio o wartości 2 to textarea dostaje możliwość wpisania, w innym przypadku textarea disabled.
<script language="javascript" type="text/javascript"> <!-- function testuj() { wybor = ""; for (i=0; i<document.f1.kolor.length; i++) if (document.f1.kolor[i].checked) wybor=document.f1.kolor[i].value; if (wybor=="inny") { document.f1.pole1.disabled=false; } else { document.f1.pole1.value=""; document.f1.pole1.disabled=true; } } // --> </script>