Check if jQuery has function For example we are check elevateZoom function. if ( !! jQuery.prototype.elevateZoom ) { // has } else { // hasn't }