I want to remove unwanted nesting.
How can I select from DOM, elements with this form:
<div style="display: block;">
..
</div>
It seems like a tight filtering like:
var unwanted_nest = $('.webform-client-form').find('div:not([id])').filter('div:not([class])');
will only display forms like: ..
try this
fiddle here
however this selects all the div with attr
style= display : blockif this what you want