How can I check if a variable is empty in Javascript? Sorry for the stupid question, but I\'m a newbie in Javascript!
if(response.photo) is empty { do so
if (myVar == undefined)
will work to see if the var is declared but not initalized.