DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
jqery remove empty elment p
$('p').each(function() { var $p = $(this); if($.trim($p.html())==='') { $p.remove(); } });
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#jqery
#remove
#empty
#elment
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit