how to do the each funtion for all to check checkboxes
Posted
by kumar
on Stack Overflow
See other posts from Stack Overflow
or by kumar
Published on 2010-05-24T17:20:33Z
Indexed on
2010/05/24
18:31 UTC
Read the original article
Hit count: 157
jQuery
I am using this code to check the checkbox is chekced or not..
$('#nextpage').click(function() {
var result = $('#Details input[type=checkbox]').attr('checked');
if (result == true) {
$("#tabs").tabs('enable', 3).tabs('select', 3);
}
else {
$().ShowDialog('please select atleast one');
}
});
using this I can check only for one checkbox if I need to check for multipe checkboxes in teh Details page how do I need to loop throw?
thanks
© Stack Overflow or respective owner