Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery check if element exists

// Check if an element currently exists
if ($('#element').length) {

}
 
PREVIOUS NEXT
Tagged: #jquery #check #element #exists
ADD COMMENT
Topic
Name
5+6 =