XMLHttpRequest to Post HTML Form
The POST string format is the following: name=value&name2=value2&name3=value3 So you have to grab all names, their values and put them into that format. You can either iterate all input elements or get specific ones by calling document.getElementById(). Warning: You have to use encodeURIComponent() for all names and especially for the values so that possible & … Read more