|
|
|
|
|
by mdaniel
820 days ago
|
|
document.querySelectorAll('.clues span.icon').forEach( el => { let p = el.parentNode; let ck = document.createElement('input'); ck.setAttribute('type', 'checkbox'); p.removeChild(el); p.appendChild(ck); })
and I have absolutely no idea why anyone would fake checkboxes in a webpage, anyway |
|