Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery if empty remove div

//if empty remove parent
$('#id:empty').parent().remove();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #empty #remove #div
ADD COMMENT
Topic
Name
8+1 =