Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

xmlhttprequest pass parameters post

xmlhttp.open("POST", "ajax.php", true);
xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xmlhttp.send("foo=" + foo + "&bar=" + bar);
Comment

PREVIOUS NEXT
Code Example
Javascript :: swal con input 
Javascript :: get random number node js 
Javascript :: divide first name and last name in javascript 
Javascript :: get authorization header javascript in my page 
Javascript :: Unable to locate package node 
Javascript :: iterate through list javascript 
Javascript :: send data from one page to another html page in Javascript 
Javascript :: js compare arrays 
Javascript :: js first letter to uppercase 
Javascript :: es6 remove empty property from object 
Javascript :: run a code after delay js 
Javascript :: getting form values in javascript 
Javascript :: Regular expression: Match everything after a particular word 
Javascript :: access to static file nodejs 
Javascript :: js querySelectorAll map sample 
Javascript :: expressjs path optional parameters 
Javascript :: jquery move li to first position 
Javascript :: js get json keys 
Javascript :: sample json 
Javascript :: vue 3 computed getter setter 
Javascript :: js escape html 
Javascript :: how to split string into array javascript 
Javascript :: event.target data-target 
Javascript :: find Array of value in JSON 
Javascript :: how to get an absolute in js 
Javascript :: set windows terminal as default vscode 
Javascript :: use onchange with react select 
Javascript :: js get html input range value 
Javascript :: react open pdf in new tab 
Javascript :: javascript ajax load html into div 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =