I am using this code to check if the checkbox is checked 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 multiple checkboxes in the Details page how do I need to loop throw?
thanks
From what i understood from the discussion and code is that you want to switch tab only if one or more checkboxes are checked otherwise open a dialog box.