Suppose you are writing JavaScript code to send an asynchronous GET request to the action.pl file on the server. You hav
Posted: Sun May 15, 2022 12:21 pm
Suppose you are writing JavaScript code to send an asynchronous GET request to the action.pl file on the server. You have instantiated an XHR object and saved it to the variable httpReq. Which statement should you use to begin the request? httpReq.open("get", "action.pl&id=41088"); httpReq.XMLHttpRequest("get", "action.pl&id=41088"); httpReq.send ("get", "action.pl&id=41088"); httpReq.send(null);