I have a form that contain a multiple checkbox i want to insert the values of checkbox into the url like this
var a=encodeURIComponent(document.getElementById("idofcheckbox").value)
xmlhttp.open("GET","InsertPHPData.php?q="+a+,true); xmlhttp.send();
Choix1 choix2