jquery.fn.extend与jquery.extend 有什么区别呢? jquery.fn =jQuery.fn = jQuery.prototype ={} 所以 jquery.fn.extend 是给jquery对象提供方法。 后者是给jquery类本身提供方法。 相关文章: