var CHK = document.getElementById('<%=chkInterest.ClientID %>'); var checkbox = CHK.getElementsByTagName("input"); var counter=0; for(var i=0;i<checkbox.length;i++) { if(checkbox[i].checked) counter++; } alert(counter);
Checkboxlist Control Validations using Javascript
Labels:
asp.net,
JavaScript
0 komentar:
Posting Komentar