faqts : Computers : Programming : Languages : JavaScript : Forms : SELECT

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

8 of 22 people (36%) answered Yes
Recently 4 of 10 people (40%) answered Yes


How do I update radio buttons based on a selection from a pull down menu?

Dec 20th, 2001 09:47
Arsen Yeremin, Chris Pielak,

	<title>Select Radio</title>
<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">
<select onchange=this.form.r[this.options
	<option value="0">0</option>
	<option value="1">1</option>
	<option value="2">2</option>
	<option value="3">3</option>