title: Javascript: Enabled / Disable radio on selected with javascript
body: <p>I would like to make this form dynamic with prototype. I mean, the radio should be disabled, but when you chose one, with js, it should turn them enabled, same way if you chose the other one, the 1st should turn disabled.</p>
  
  <p>This is my HTML, but I have no idea where to start with JS to make this work, thank you</p>
  
  <pre><code>&lt;form id="uploadForm" method="post" action="/parser/parseCurriculumVitae.do" enctype="multipart/form-data"&gt;
  &lt;fieldset&gt;
          &lt;div id="uploadCv"&gt;
                  &lt;input type="radio" id="uploadCvSelector" name="uploadFormSelector"/&gt;
                  &lt;input disabled type="file" id="uploadCv" name="uploadCv" /&gt;
          &lt;/div&gt;
          &lt;div id="pastedCv"&gt;
                  &lt;input type="radio" id="pastedCvSelector" name="uploadFormSelector" /&gt;
                  &lt;textarea disabled id="pastedCv" name="pastedCv" rows="8" cols="40" onclick="this.value=''"&gt;Paste your Cv Here&lt;/textarea&gt;
          &lt;/div&gt;
  &lt;input type="submit" value="Send'em!"/&gt;
  &lt;/fieldset&gt;
  &lt;/form&gt;
  </code></pre>