skip to Main Content

Jquery – How to make all checkboxes checked after clicking on a link?

There is such a markup: <div class="field--name-field-finishing"> <a href="" class="dummy-select-deselect-finishing-options">Select/Deselect All</a> <div class="field--name-field-finishing-option"> <div class="form-checkboxes"> <div class="js-form-type-checkbox"> <input type="checkbox" id="option-29202" name="field_finishing[29202]" value="29202" checked="checked" class="form-checkbox"> <label for="option-29202" class="option"><span class="views-field-field-image"> <span class="field-content"> <img loading="lazy" src="/path" typeof="Image"> </span> </span> <span class="views-field-name"><span class="field-content">Hem Tags</span></span>…

VIEW QUESTION
Back To Top
Search