Cod: Selectaţi tot
<html>
<head>
<script language="javascript"><!--
function FruitBox()
{
window.document.myform.fruit[].checked=true;
}
function clearall(){
for (var i=0;i<3;i++)
x[i].checked=false;
}
//-->
</script>
</head>
<body>
<from name="myform">
<input type="radio" name="fruit" onclick="window.document.myform.fruit.value='oranges'">oranges & Tangerines <br>
<input type="radio" name="fruit" onclick="window.document.myform.fruit.value='bananas'">bananas <br>
<input type="radio" name="fruit" onclick="window.document.myform.fruit.value='peaches'">peaches,Nectarines & Palmus <br>
To select Oranges <a href="javascript:FruitBox()">clickhere</a><br>
<input type="button" Value="oranges & Tangerines" name="fruit" onclick="window.document.myform.fruit.value='oranges'">
<input type="button" Value="bananas" name="fruit" onclick="window.document.myform.fruit.value='bananas'">
<input type="button" Value="peaches,Nectarines & Palmu " name="fruit" onclick="window.document.myform.fruit.value='peaches'">
<br>
<input type="reset" Value="Sterge" onClick="clearall()"/>
</from>
</body>
</html>