I've discoverd that XMLHttpRequest with xhttp.send() don't send correctly a variable that contains a + inside.
xhttp.open("POST", "page.php", true);
xhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xhttp.send("paramx=" + paramx + "¶my=" + paramy);
If, for example, paramy is equal to try+10
in php $_POST["paramy"] will be equal to try 10 (unwanted space in place of plus)
How can I send and obtain variables with + too? (So in this example try+10)
Thanks