al seleccionar un item del radiobutton, mostrar el valor dado.
Ejemplo:
Código HTML:
<script type="text/javascript">
for (i = 0; i < radio.length; i++)
if radio[i].checked = true and value.windows ;
document.write("windows");
if radio[i].checked = true and value.linux ;
document.write("linux");
if radio[i].checked = true and value.osx;
document.write("osx");
if radio[i].checked = true and value.other ;
document.write("other");
}
</script>
<form name="form">
<input type="radio" name="so" value="windows">Windows
<input type="radio" name="so" value="linux">Linux
<input type="radio" name="so" value="osx">OSX
<input type="radio" name="so" value="other">Other
</form>
no me hace nada
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
.. no entiendo el porque.