jQuery: Remove parent element containing empty span

By Jeff Starr

This tutorial explains how to remove the parent of an element that contains an empty (or any empty element). First I’ll explain where it might be useful, and then share the magical code to make it happen. Why is it useful? This technique is useful in any scenario where you want to remove not […] …read more

Source:: WP Mix

No comments