jeudi 2 mars 2023

select all check box for solarwinds webpage

I'm looking for a solution to check all in the webpage & i have tried the solutions that are mentioned here Select All checkbox by Javascript or console but in my case i'm using for solarwinds tool to check all the pollers and when i use any of the solution mentioned will do the check all but when i click on submit it get unchecked. Any ideas as to what i could do ?

for (var i = 0, max = allInputs.length; i < max; i++){
    if (allInputs[i].type === 'checkbox')
        allInputs[i].checked = true;
}```
OR 

$("input[type='checkbox']").prop("checked", true);

OR

$(":checkbox").prop("checked", true);

All 3 has the same problem 



Aucun commentaire:

Enregistrer un commentaire