I want to know if I have the following HTML code and I want to be able to toggle between all selected and none selected, is there a way and could someone provide some sample code for me to play around with. I will say that the code I am using currently (HTML) is being generated by a CGI script. Below is the HTML code:
<input type="checkbox" name="emailAddress" checked>
I want to be able to insert some JS before this that will make a button that allows toggling between all checked and none checked. It sounds complicated to me, that is why I am here asking the experts.
<input type="checkbox" name="emailAddress" checked>
I want to be able to insert some JS before this that will make a button that allows toggling between all checked and none checked. It sounds complicated to me, that is why I am here asking the experts.