andriajah Fri May 2020 2 years ago
Sending Post Data With Ajax In Javascript
In this video I take you through a simple example of how this works by first setting up the request in JavaScript and then coding a simple PHP script which will do a basic manipulation of the POST variables. From there, we display the server response to the browser.
For your reference, check this out:
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/send
Follow me on Twitter @dcode!
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode! code coding programming tutorial introduction beginner walkthrough guide software development simple easy into english with example examples js javascript ecmascript es5 es6 es7 new features xhr xml http https request response method post get send data url encoded form vars var variable php php5 html5 html web website app