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