Thursday, May 26, 2011

Check if JS function exists

if(typeof yourFunctionName == 'function') {
yourFunctionName();
}

No comments:

Post a Comment