Tag: undefined is not a function javascript

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