bishawjit-das
4/21/2015 - 8:56 AM

Check javascript/jquery function exists

Check javascript/jquery function exists

if (typeof abc != 'undefined' && $.isFunction(abc)) {
    alert('abc exists');
} else {
    alert('abc does not exist');
}