87,903
社区成员
发帖
与我相关
我的任务
分享
$.fn.extend({
check: function() { return this.each(function() { this.checked = true; }); }
, uncheck: function() { return this.each(function() { this.checked = false; }); }
});
$.fn.check=function(){ return this.each(function() { this.checked = true; });}
$.fn.uncheck=function(){ return this.each(function(){ this.checked = false;});}
$.extend({
add: function(a,b) { alert(a+b);}
});
$.add=function(a,b){ alert(a+b);}