Action :
<select id="question">
<option value="Further follow up needed">Further follow up needed</option>
<option value="Rejected">Rejected</option>
<option value="Closed">Closed</option>
</select>
Next Follow Up Date:
<input name="ww" type="text" id="ww" value=""></td>
<br> Are sure you want to closed the activity?
<br>
<INPUT TYPE='radio' NAME='action' id="yes" VALUE='yes'>Yes
<INPUT TYPE='radio' NAME='action' id="no" VALUE='no'>No
Вы можете использовать:
var e = document.getElementById("question");
var answer = e.options[e.selectedIndex].text;
if(answer){
var radiobtn = document.getElementById("yes");
radiobtn.checked = true;
}
Не забудьте добавить атрибут id
для всех элементов