Question: how to do an ajax call in javascript?
Answer: create a XMLHttpRequest object. write the callback function. open the request. send the request.