0
Hello! I have a problem that I am not able to solve. I want to "check" the checkbox that is generated dynamically in my HTML code. The structure works like this:
1. The page is loaded; 2. By clicking on a given button, a dynamic modal is generated; 3. All checkboxes in this modal have the same class ('.checkbox');
Now here’s the problem! I need to leave the checked property of each checkbox as true if you meet a condition I will make. But I cannot detect this checkbox and insert these changes. I’ve already used the on() method and I still can’t handle these checkboxes.
How can I do this with Jquery?
You’ll get better answers by giving people code they can use to reproduce the problem. https://answall.com/help/mcve
– user60252