JavaScript
Article
By Sam Deering

jquery is empty check using a selector

By Sam Deering

Quick jQuery snippet is empty check using a selector. Keep sharp.

--ADVERTISEMENT--

//..inside each loop
(!$(this).is(':empty'))
//...
Recommended
Sponsors
The most important and interesting stories in tech. Straight to your inbox, daily. Get Versioning.
Login or Create Account to Comment
Login Create Account