I'm struggling to find a solution for this anywhere on Google, maybe I searched the wrong way, but thought I'd come and ask all the trustworthy StackOverflow members.
I want to use the html button to check the html checkbox. The reason I donβt want to use this checkbox will be for accessibility reasons only, because the application I'm developing will be on the terminal and used like a touch screen, so the HTML checkbox is too small.
The only problem is that the checklist is dynamic as it is populated using an SQL query. Obviously, however, I can do the same for creating HTML buttons.
I assume that this will require JavaScript (which Iβm very happy using now, since I need to find many functions that I need, I need JavaScript for this application) to execute this function.
So, to clarify: I want to click on the button, say that it has the value "Fin Rot" and checks the checkbox with the value "Fin Rot". And then if I press another button, I say that it has the value "Ich", then it also checks the flag with the value "Ich"
source share