DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+1 =
Submit