Online Shopping : Computers : Programming : Languages : JavaScript : Applets/Java

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

18 of 43 people (42%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

on change of select the radio button should be checked

Dec 20th, 2001 09:34
Arsen Yeremin, d m,


<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].click()> 
	<option value="0">0</option>
	<option value="1">1</option>
	<option value="2">2</option>
	<option value="3">3</option>			
</select>
</form>
</body>
</html>