title: Unable to disable TextBox on CheckBox selection
body: <p>I have a @Html.TextBox and a @Html.CheckBox, no matter what is entered in @Html.TextBox , the moment I click checkbox for windows authentication I want my @Html.TextBox  to become EMPTY and DISABLED</p>
  
  <pre><code>@using (Html.BeginForm())
  {
    &lt;div id="emailtext"&gt;@Html.TextBoxFor(m=&gt;m.Email)&lt;/div&gt;
    &lt;div id="chk"&gt;@Html.CheckBox("CheckWindowsAuth") @Html.Label("Use windows authntication")&lt;/div&gt;
  }
  </code></pre>
  
  <p>My jquery which is not helpinng</p>
  
  <pre><code>&lt;script src="my jquery path"&gt;&lt;/script&gt;
  &lt;script&gt;
   $(document).ready(function(){
      $("#chk").click(function(){
         $("#emailtext").val("");
         $("#emailtext").attr("disabled", "disabled"); 
      });
   });   
  &lt;/script&gt;
  </code></pre>
  
  <p>Please help me know where I'm going wrong...
  Thanks</p>