Answers for "enable/disable textbox on click check all checkbox"

CSS
1

enable/disable textbox on checkbox click using jquery

$(function() {
  enable_cb();
  $("#group1").click(enable_cb);
});

function enable_cb() {
  if (this.checked) {
    $("input.group1").removeAttr("disabled");
  } else {
    $("input.group1").attr("disabled", true);
  }
}
Posted by: Guest on August-13-2020
1

disable checkbox click event

pointer-events:none
Posted by: Guest on July-16-2020

Code answers related to "enable/disable textbox on click check all checkbox"

Browse Popular Code Answers by Language