Pages

Thursday, August 11, 2011

Javascript to check if variable exists

if(typeof(variablename)= = = 'undefined')
{
//do action
}

No comments:

Post a Comment