hakanersu
8/12/2015 - 12:57 PM

jQuery exists funciton

jQuery exists funciton

$.fn.exists = function(func){
    if(this.length>0){
        func();
    }
}