[jQuery] Checkbox selector not working
Hi Guys
I am new to jQuery...
I am trying to get all the checkboxes checked in the form
$("INPUT[@name^=ddCommercialTypes_Check][type='checkbox']
[checked='true']").each(function() {
checkedBoxes1 += "," + $(this)[0].value;
});
Here I am getting all the checkboxes checked in that form, instead of
checkboxes with the names starting with "ddCommercialTypes_Check".
Please let me know what I am doing wrong in that selector statement...
Thanks
Chandra