I have a radio button with two possibility like following :
<input type="radio" name="radiobutton" value="first">
<input type="radio" name="radiobutton" value="second">
And i would like to synchronise with the following select :
<select name="myselect">
<option value="">Null default value</option>
<option>First value in select</option>
<option>Second value in select</option>
</select>
So - when i check first in radio button i would like that first element is automatically selected. - when i check second in radio button i would like that second element is automatically selected.
Besides, i would like to reset all values (of select and radiobutton) if an other select like following :
<select name="myresetselect">
<option value="">Null default value</option>
<option>First value in select</option>
<option>Second value in select</option>
</select>
...has first ('Null default value') selected.