How to make an AJAX call

Posted by in Coding, Javascript

An AJAX call is possibly one of the simplest and most useful things you’ll find when using JQuery and wanting to load some remote data (i.e. from an API) into your page without having to reload it. It’s something amazingly simple an easy, yet equally useful. In this example we are gonna get some data from an API at Randomuser.me, and print the name and surname of the user we get from it.