title: ASP.NET MVC Checboxes disabling/enabling textboxes
body: <p>I have a view with three textboxes and a CheckBox:</p>
  
  <pre><code>    @foreach( var item in Model )
  {
      &lt;tr&gt;
          &lt;td&gt;
              @Html.CheckBox("name")
          &lt;/td&gt;
          &lt;td&gt;
              @Html.EditorFor(m =&gt; item.Toolbox)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.EditorFor(m =&gt; item.Name)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.EditorFor(m =&gt; item.Link)
          &lt;/td&gt;
      &lt;/tr&gt;
  }
  </code></pre>
  
  <p>And how i can create JS code to bind this checkboxes to diffirent textboxes? This "name" check box should disable/enable three textboxes for every time loop creates it. There are 500+ items in Model.</p>