js判断某个元素是否存在某个方法

if($.isFunction($(“#id”).方法名称)){

return true;

}

猜你喜欢

转载自dongxylove.iteye.com/blog/2292965