I have a webform, where fieldset contains fieldsets. I want to use jquery to select the fieldsets that are not children? how can i do that?
If the fieldsets you want are a direct child of the form, try:
$('form > fieldset')
See the jQuery Child Selector docs for more info