get the details of child checkbox while clicking on the parent checboxes
<p>I have set of checkboxes with select all and deselect all options... Is it possible to get the details( id, class, name) of the child checkboxes associated each main checkbox while clicking on select all option..</p>

<p><a href="http://jsfiddle.net/nBh4L/2/" rel="nofollow">http://jsfiddle.net/nBh4L/2/</a></p>

<pre><code>$(function(){
$('.selectAll').on('click', function(evt){
var group = $(this).attr('data-group'),
    isChecked = !!($(this).prop('checked'));
$('input[value="' + group + '"]').prop('checked', isChecked);    
})

$('.entity').on('click', function(evt){
var group = $(this).attr('value'),
    siblings = $('input[value="' + group + '"]'),
    isChecked = true;
siblings.each(function(idx, el){
  if(!$(el).prop('checked')) {
    isChecked = false;
    return;
  }
})

$('.selectAll[data-group="' + group + '"]').prop('checked', isChecked);

})
})​
</code></pre>
