Skip to content
Advertisement

How to have only 3 checkboxes per line with dynamic checkbox number

How to have only 3 checkboxes per line with dynamic checkbox number, for example I have 21 checkboxes (read checkbox name form a database).

This is my code

JavaScript

I have the following situation

enter image description here

But I would like to have only 3 checkboxes per line, for example the 3 with black dot on the first line, the 3 with the red dot on another line, the 3 with the green dot on another line and so on. Something like this done using PAINT

enter image description here

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement