0

I am trying to use the console to checkbox in chrome. I already use different way but it not work

$("input[type='checkbox']").prop("checked", true);
// or
var allInputs = document.getElementsByTagName("input");
for (var i = 0, max = allInputs.length; i < max; i++){
    if (allInputs[i].type === 'checkbox')
        allInputs[i].checked = true;
}

picture of code

I just realize that to change it, I have to change the name of the class "icheckbox_minimal" to "icheckbox_minimal checked"

Please help me

Stackkin
  • 11
  • 1

0 Answers0