checkboxes

checkboxes

Hi ,
 
I am new to JQuery. In my page i got a datalist with some checkboxs. SelectAll check box should check all the sub checkboxes only if they are enabled.
how can i check whether a check box is enabled or not (disabled or not) .
 
Thanks
 
Ranjith