Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to find whether empty or not using jQuery

if ($('div.element').is(':empty')) {
    alert('is empty');
}
else {
    alert('not empty');
}
 
PREVIOUS NEXT
Tagged: #find #empty #jQuery
ADD COMMENT
Topic
Name
4+3 =