I posted this thread on a similar forum, however, it failed to receive an answer, so I'll ask it here instead. On the other forum, it got around 6 000 views, while other threads created around the same time got around two or three hundred views. I can think of three reasons why it would receive so many views yet no responses: it was incredibly easy, and no one wanted to answer; it was hard, and no one knew the answer; or, its answer required a lengthy explanation that no one had the time to give.
Regardless, it's still a question that I can't answer, so here's the original:
Here is the code I currently have: https://jsfiddle.net/88sxy0jg/15/
Basically, when I select 2 of the boxes, the alert for the second URL pops up - which is good. However, in the URL, it will end with "false&n= (etc.)" How do I get the value for when checked=1 in the second URL instead of "false"? The similar issue goes for when checked=3 and so on, should I add more checkboxes.
Knowing me, I'm probably overlooking some minor detail.