Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.querySelectorAll("input[type='radio']").forEach((x, i) => {
- if ((i + 1) % 5 == 0) {
- x.checked = true
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement