Entry
How do I update radio buttons based on a selection from a pull down menu?
How do I update radio buttons based on a selection from a pull down menu and vice versa?
Feb 19th, 2002 02:59
sowel Mahmood, Arsen Yeremin, Chris Pielak, Joe Akers,
<html>
<head>
<title>Select Radio</title>
</head>
<body>
<form name="my_form">
<input type="radio" name="r" checked>
<input type="radio" name="r">
<input type="radio" name="r">
<input type="radio" name="r">
<br>
<select onchange="this.form.r[this.options
[this.selectedIndex].value].checked=true">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
</form>
</body>
</html>