Simple Jquery all select function

  • 2020-03-26 23:43:00
  • OfStack

This is the simplest piece of fully selected Jquery code.
[code
] $(function () {
  $(" # chkAll "). Click (function () {
    $(" input: the checkbox "). Attr (" checked ", $(this). Attr (" checked "));
  });
});
[/ code]


Related articles: