I have a view with three textboxes and a CheckBox:
@foreach( var item in Model )
{
<tr>
<td>
@Html.CheckBox("name")
</td>
<td>
@Html.EditorFor(m => item.Toolbox)
</td>
<td>
@Html.EditorFor(m => item.Name)
</td>
<td>
@Html.EditorFor(m => item.Link)
</td>
</tr>
}
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.