Posted By

dkl3in on 04/18/11


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

geek4evr


Check if a Javascript Function Exists or Is Defined


 / Published in: JavaScript
 

  1. if(typeof yourFunctionName == 'function') {
  2. yourFunctionName();
  3. }

Report this snippet  

You need to login to post a comment.