Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery varable exists

if (typeof variable !== 'undefined') {
    // the variable is defined
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #varable #exists
ADD COMMENT
Topic
Name
9+3 =