第一种$.extend({"key":"value"});适用于不用选择的情况
第二种$.fn.extend({"key":"value"}),适用于需要选择的器的情况,其中this代表传入的JQuery对象
(function(a){
alert(a);
})(5);//自执行函数
第一种$.extend({"key":"value"});适用于不用选择的情况
第二种$.fn.extend({"key":"value"}),适用于需要选择的器的情况,其中this代表传入的JQuery对象
(function(a){
alert(a);
})(5);//自执行函数