how to loop throw all the Fileds in the view to check wheather checkbox is checked or not using jque
- by kumar
Hello friends.
I have this code I am checking wheather checkbox i checked or not..
$('#btnsubmit').click(function() {
$('#Details input[type=checkbox]').each(function() {
if ($(this).attr('checked')) {
alert("selected");
return false;
} else {
alert("please…