参考文档:http://www.cnblogs.com/Dlonghow/p/4142034.html 编写插件最先接触到的就是jQuery.fn.extend 和jQuery.extend 这个两个属性,但是这两个东西是什么,干啥用的,还得先明白: 1.jQuery.extend(object) a).为jQuery添加静态方法 eg : jQuery.extend({ min:function(a,,b){return a<b?a:b}, max:function(a,b){return a…