XMLHttpRequest Question:

Download Job Interview Questions and Answers PDF

Explain Open ("method", "URL", "async", "uname", "pswd")?

XHR2 Interview Question
XHR2 Interview Question

Answer:

Open ("method", "URL", "async", "uname", "pswd"):- This method takes a URL and other values needed for a request. You can also specify how the request is sent by GET, POST, or PUT. One of the important values is how this request will be sent asynchronously or synchronously. True means that processing is carried after the send () method, without waiting for a response. False means that processing is waits for a response before continuing.

Download XHR2 Interview Questions And Answers PDF

Previous QuestionNext Question
Can you explain Scriptmanager control in Ajax?What is Ready State?