troubleshooting Question

update href from checkbox click

Avatar of iceman19330
iceman19330 asked on
9 Comments1 Solution364 ViewsLast Modified:
I have a link that when someone checks a checkbox I need to add something to the link.

<a href="blah?id=1">Blah</a> would be the default and if I checked a box
<input type="checkbox" name="id" value="2" />
 it would be <a href="blah?id=1,2">Blah</a>
and if I check another one
<input type="checkbox" name="id" value="3" />
 it would be <a href="blah?id=1,2,3">Blah</a>

any thoughts?
Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros