Friday, December 19, 2008

How to find that a JS function exists?

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

No comments: