If the call is GET, the postParameters value will be blank. You can also find us onTwitterandFacebook. Set up The first thing to make sure you have is Node and NPMinstalled. ins.style.minWidth = container.attributes.ezaw.value + 'px'; Let's understand how it works. Submit this form using XMLHttpRequest in javascript using formdata concept.if(typeof ez_ad_units != 'undefined'){ez_ad_units.push([[728,90],'onlinewebtutorblog_com-medrectangle-4','ezslot_4',122,'0','0'])};__ez_fad_position('div-gpt-ad-onlinewebtutorblog_com-medrectangle-4-0'); The keystone of AJAX is the XMLHttpRequest object. xhttp send post data; xmlhttprequest set content type; xmlhttprequest post method; send data in xmlhttprequest; send post request using xmlhttprequest; httpRequest.send(); post request using xmlhttprequest; send xml http request; xmlHttp.open("POST", XMLHTTPRequest POS; req.send(content) javascript; javascript xhttp add data; xhr post request . See this question for more info Send POST data using XMLHttpRequest. Use the