Jquery  <script>      jQuery(document).ready(function(e)      {          jQuery(". check_all ").click(function()          {             jQuery(". all_checked ").attr('checked', $(this).is(':checked') ? true : false);          })      });  </script>  HTML  < input  type = "checkbox"  class = " check_all " / >  < input  type = "checkbox"  class = " all_checked " / >  < input  type = "checkbox"  class = " all_checked " / >   < input  type = "checkbox"  class = " all_checked " / >          
Learn advanced web technique