DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
jquery if div is empty
function isEmpty( el ){ return !$.trim(el.html()) } if (isEmpty($('#element'))) { // do something }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#jquery
#div
#empty
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit