Tag: javascript error function doesnt exist

Check if a Javascript Function Exists or Is Defined

It’s always frustrating when you get an error trying to call a function that hasn’t been defined but there’s an easy way  to prevent this. To check if a Javascript function exists before calling it, try this: if (typeof yourFunctionName...

/ January 26, 2013