Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Display the checkboxes vertically with clickable labels -->
- <div id= "container">
- <label id="check1">
- <input type="checkbox" onclick="if(this.checked){myFunction('check1')}"> 1
- </label>
- <label id= "check2">
- <input type="checkbox" onclick="if(this.checked){myFunction('check2')}"> 2
- </label>
- <label id= "check3">
- <input type="checkbox" onclick="if(this.checked){myFunction('check3')}"> 3
- </label>
- <label id= "check4">
- <input type="checkbox" onclick="if(this.checked){myFunction('check4')}"> 4
- </label>
- <label id= "check5">
- <input type="checkbox" onclick="if(this.checked){myFunction('check5')}"> 5
- </label>
- <div>
Add Comment
Please, Sign In to add comment