Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

http form

var formElement = document.getElementById("myFormElement");
var xhr = new XMLHttpRequest();
xhr.open("POST", "submitform.php");
xhr.send(new FormData(formElement));
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #http #form
ADD COMMENT
Topic
Name
2+6 =