title: Enabling text box using javascript
body: <p>I've following textbox which is initially <strong><em>disabled:</em></strong></p>
  
  <pre><code>&lt;input id="txtCustFName" name="txtRCustFName" type="text" required disabled="true"/&gt;
  </code></pre>
  
  <p>on click on following anchor tag i m calling the js to enable the above text box:
  <strong>HTML:</strong>
      Enable</p>
  
  <p><strong>JS:</strong></p>
  
  <pre><code>EnableTxt()
  {
      document.getElementById("txtCustFName").disabled = false;
  }
  </code></pre>
  
  <p>But this code is not working. I am not able to enable text box.</p>
  
  <p>How can I do this?</p>