title: Selecting a radio button when a dropdown value changes
body: <p>My setup is something like this:</p>
  
  <pre><code>radiobutton1 - selection1
  radiobutton2 - selection2 textinput1
  </code></pre>
  
  <p>I want radiobutton1 to be selected whenever selection1 is changed, and I want radiobutton2 to be selected whenever either selection2 or textinput1 is changed.</p>
  
  <p>There has to be a simple javascript solution here... I just can't find it.</p>
  
  <p>Here's my actual code ("$semopt" is a string holding the html code for the options on the first selection input):</p>
  
  <pre><code>&lt;input type='radio' name='semester' value='existing'/&gt;Existing semester: 
      &lt;select name='sem_id'"&gt;$semopt
      &lt;/select&gt;&lt;br/&gt;
  &lt;input type='radio' name='semester' value='new'/&gt;New Semester: 
      &lt;select name='sem_name'"&gt;
          &lt;option value='Fall'&gt;Fall&lt;/option&gt;
          &lt;option value='Spring'&gt;Spring&lt;/option&gt;
      &lt;/select&gt; 
      &lt;input name='sem_year' value='$thisyear' size='5'"/&gt;&lt;br/&gt;
  </code></pre>