Question

How to check for an empty string in JavaScript?


Annonce
Ad

Answer

if (strValue) {
    //do something
}


[source]
# ID Query