[CODE]
<html>
<head>
<script language="javascript">
function view()
{
var a = document.getElementsByName('radiobutton');
for(var i=0; i<a.length; i++)
if(a[i].checked) document.forms[0].elements[4].value=a[i].value;
}
</script>
</head>
<body>
<form>
<input type="radio" name="radiobutton" value="11111111" onclick="view()">111
<input type="radio" name="radiobutton" value="222222222" onclick="view()">222
<input type="radio" name="radiobutton" value="33333333" onclick="view()">333
<input type="radio" name="radiobutton" value="44444444" onclick="view()">444
<input type="text" >
</form>
</body>
</html>
[/CODE]