Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

exist element js

if ($('#element').length) {
	//Checks if element exists
}
 
PREVIOUS NEXT
Tagged: #exist #element #js
ADD COMMENT
Topic
Name
4+2 =