2  * jQuery SelectAll plugin 1.1
 
   4  * Copyright (c) 2009 Sven Schöling
 
  10   checkall: function(target) {
 
  11     var saved_this = this;
 
  12     return $(this).click(function() {
 
  13       $(target).each(function() {
 
  14         $(this).attr('checked', $(saved_this).attr('checked'));