title: Onclick On Radio Button Not Working
body: <p>So I have this radio button and text field in a form. When the page loads, the disable field method gets called and disables the text field. What I am trying to do next is to re enable the text field by activating the radio button. Hence I have an onclick event on the radio button that calls the enablefield method. But its refusing to reactivate the textfield. Is it the syntax you reckon?</p>
  
  <pre><code>&lt;form&gt;
  &lt;input type="radio" name="asiinternship" value="Tadween Publishing" onclick="enableField(applyingforother)" /&gt;Other &lt;input type="text" name="applyingforother" maxlength="56" style="width:143px;margin-bottom:20px;" /&gt;
  &lt;/form&gt;
  
  &lt;script&gt;
          function enableField(myField)
              {
              myField.disabled = false
              return true
              }   
  
          function disableField(myField)
              {
              myField.disabled = true
              return true
              }       
  
          disableField(document.forms["contact_form"].applyingforother)
  
  &lt;/script&gt;
  </code></pre>