Adds two plugin methods. : jQuery « jQuery « JavaScript DHTML
- JavaScript DHTML
- jQuery
- jQuery
Adds two plugin methods.
jQuery.fn.extend({
check: function() {
return this.each(function() { this.checked = true; });
},
uncheck: function() {
return this.each(function() { this.checked = false; });
}
});
Related examples in the same category