I have a list of checkboxes that I would like to convert to checkboxes. I don't have access to the HTML - so I need a jQuery or vanilla JS solution.
Is this possible?
<div class="column wide”>
<div class="wrap cart”>
<div class="filterformbox”><label><a href="javascript://" name="_ec_pld2_l2" id="_ec_pld2_l2" class="checkboxOff" onmouseup="this.className = (this.className=='checkboxOn'?'checkboxOff':'checkboxOn');" onclick="if( UI.pb_boolean(this, 'click') ) {} return false;"></a>Gesorteerd op prijs</label></div>
<div class="filterformbox"><label><a href="javascript://" name="_ec_pld2_l1" id="_ec_pld2_l1" class="checkboxOn" onmouseup="this.className = (this.className=='checkboxOn'?'checkboxOff':'checkboxOn');" onclick="if( UI.pb_boolean(this, 'click') ) {} return false;"></a>Op voorraad</label></div>
</div>
</div>
Aucun commentaire:
Enregistrer un commentaire