how to do the each function for all to checked checkboxes
<p>I am using this code to check if the checkbox is checked or not.. </p>

<pre><code>    $('#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');
        }
    });
</code></pre>

<p>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?</p>

<p>thanks</p>
