I have list of checkbox,NO.of checkbox depends on the no. of database tables rows fetched.
I have 1 submit button,which should be active only if atleast one checkbox is checked...
my code is as --
@foreach (var item in Model.trnEmpQualificationList)
{
<tr>
   <td><input class="chk1" type="checkbox" value="@item.intID" name="chkid" /></td>
   <td>@item.intEMPID                                    </td>
   <td>@item.txtYearofPassing</td>
   <td>@item.txtInstituteName</td>
   <td>@item.txtQualification</td>
}
 
   $(document).ready(function () {
       
        $("#trcategory").hide();
        $("#btnsubmit").attr("disabled", true);
        $("#btnsubmit").css("background-color", "#050505");
  });