How to control a checked button on Javascript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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 Answer
0
if (checkboxObject.checked) { doSomething(); } else { doSomething(); }
27th May 2018, 10:41 AM
Unai Mengual
Unai Mengual - avatar