d
Amit Dhamu
Software Engineer
Articles
Snippets
Colophon
Projects
Uses
Check If Element Exists
1 minute read
00000 views
if
(
$
(
'div'
)
.
length
)
{
// div exists
}
else
{
// no divs exists
}
jquery
length