Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check element exist in jquery

if ($('.element').length) {
  // there is at least one element matching the selector
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #element #exist #jquery
ADD COMMENT
Topic
Name
6+7 =