Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery if null or empty

if (jQuery('#something').val().length != ''){}
or
if (jQuery('#something').val().length != 0){}
 
PREVIOUS NEXT
Tagged: #jquery #null #empty
ADD COMMENT
Topic
Name
3+8 =