I am trying to pass value via url for two checkboxes, both with different names and only need to see if they are checked or unchecked. Here is what the html code looks like:
<input type="checkbox" name="one" value="one" checked id="one" >
<input type="checkbox" name="two" value="two" id="two" >
how do I encode this in url, so that the check boxes can be checked or unchecked by what's in the url, for example:
www.site.com?one=unchecked&two=checked