I'd like to send some data using an XMLHttpRequest in JavaScript. Inside this article we will see how Form data submit using XMLHttpRequest in javascript. Let us know if you liked the post. To send a request to a server, we use the open() and send() methods of the XMLHttpRequest object: xhttp.open("GET", "ajax_info.txt", true); xhttp.send(); Method . Use the