What is the right jQuery selector to use for all fieldset elements which have only checkboxes in them? I tried $("fieldset:has(input:checkbox")
but that didn't work.
Help? Thanks
What is the right jQuery selector to use for all fieldset elements which have only checkboxes in them? I tried $("fieldset:has(input:checkbox")
but that didn't work.
Help? Thanks
I believe the following will work:
$("fieldset:has(input[type='checkbox'])")