DEV Community

jan
jan

Posted on

How to disable checkboxes using their class name?

I am having a set of '6' checkboxes and all these are in img format, a class name is assigned to them i.e, "re-lbl-normal-12". Now I want to disable '3' checkboxes with Id's "1,2,6". I want to disable them using their class name. How can I do this?

javascript #reactjs

Top comments (0)