How to control a checked button on Javascript | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

How to control a checked button on Javascript

Please I need your help, m stuck on this for days I wanted to place an if statement to control the checked buttons of the user!! this the link https://code.sololearn.com/WT6W2ikbqyNg/#js

26th May 2018, 2:31 AM
Code Jack
Code Jack - avatar
1 Antwort
0
if (checkboxObject.checked) { doSomething(); } else { doSomething(); }
27th May 2018, 10:41 AM
Unai Mengual
Unai Mengual - avatar