Hi i have two condition on checkbox value so while check
i)if user click "no record " other checkbox had to disable or
ii)it have to alert only no record have to select like that or
iii) while click of no record other selection have not allowed to check
my code:
<tr class='tablecolor-L-TD' id="+sno+">" +
"<td class='lc_sno_1' ><center> "+sno+"</center></td>"+
"<td class='lc_survey_1' ><center> "+v.surveyNo+"</center></td>" +
"<td class='lc_subdiv_1' ><center> "+v.subdivNo+"</center></td>" +
"<td class='lc_ExtAres_1' ><center> "+v.ext_ares+"</center></td>" +
"<td class='lc_ownerdetail_1' ><center> "+cnt_OwnrName+"</center></td>"+val+"" +
"<div id='td_select' style='display: block'>" +
"<td class='selectall'><center>" +
"<input type = 'checkbox' class='chkNumber' value='"+JSON.stringify(v)+"' id = check"+sno+" " +
" name=check"+sno+" onClick='addSave(this); ;' /></center></td>"
for example:
<input id="check1" class="chkNumber" type="checkbox" onclick="addSave(this); ;" name="check1" value="{"patta":275,"authorityno":1,"villageCode":"057","ownersChitta":}"
<input id="check2" class="chkNumber" type="checkbox" onclick="addSave(this); ;" name="check2" value="{ "flag": "No records"}"
Am newbie how can i check ???