Tag: undefined function
![](https://i0.wp.com/jeffreifman.com/wp-content/uploads/2013/02/dod-links.png?resize=450%2C300&ssl=1)
Using Javascript to Keep Us Safe From Terrorists
Someone buy the Federal government a Safari Online Subscription before we get attacked again by terrorists. Apparently, the Department of Defense and Department of Homeland Security regularly make use of my blog for help with Javascript: I rest easier knowing...
![](https://i0.wp.com/jeffreifman.com/wp-content/uploads/2013/01/jscript.jpg?resize=450%2C300&ssl=1)
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...