Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery selector exists

if ($(selector).length ) {
    // Do something
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #selector #exists
ADD COMMENT
Topic
Name
9+4 =