Podcast
Questions and Answers
What is AJAX?
What is AJAX?
- A technique for creating fast and dynamic web pages (correct)
- A type of web server
- A programming language for building dynamic web pages
- A method for storing data on the client-side
Which object is used to create an XMLHttpRequest in modern browsers?
Which object is used to create an XMLHttpRequest in modern browsers?
- AJAXRequest
- XMLHttpRequestObject
- XMLHTTP (correct)
- ActiveXObject
What method is used to send a request to a server using XMLHttpRequest?
What method is used to send a request to a server using XMLHttpRequest?
- submitRequest()
- send() (correct)
- getServerResponse()
- sendRequest()
What does the responseText property of XMLHttpRequest contain?
What does the responseText property of XMLHttpRequest contain?
Which applications use AJAX according to the given text?
Which applications use AJAX according to the given text?
What happens if a classic web page (not using AJAX) needs to change its content?
What happens if a classic web page (not using AJAX) needs to change its content?
What triggers the onreadystatechange event handler?
What triggers the onreadystatechange event handler?
When is the response considered ready?
When is the response considered ready?
What happens if the input field in the AJAX and PHP Example is empty?
What happens if the input field in the AJAX and PHP Example is empty?
What does the xmlhttp.send() method do?
What does the xmlhttp.send() method do?
What happens when str.length == 0 in the showHint() function?
What happens when str.length == 0 in the showHint() function?
What parameter is added to the URL in the showHint() function?
What parameter is added to the URL in the showHint() function?
How many times is onreadystatechange triggered?
How many times is onreadystatechange triggered?
xmlhttp.onreadystatechange
is designed to be a function that will be called:
xmlhttp.onreadystatechange
is designed to be a function that will be called:
showHint()
function executes what operations when the input field is not empty?
showHint()
function executes what operations when the input field is not empty?
What does 'this.readyState == 4 && this.status == 200' represent?
What does 'this.readyState == 4 && this.status == 200' represent?
What is the purpose of AJAX in web development?
What is the purpose of AJAX in web development?
Which object is used to create an XMLHttpRequest in modern browsers?
Which object is used to create an XMLHttpRequest in modern browsers?
What does the 'xmlhttp.onreadystatechange' event handler represent?
What does the 'xmlhttp.onreadystatechange' event handler represent?
What happens if the input field in the AJAX and PHP Example is empty?
What happens if the input field in the AJAX and PHP Example is empty?
What is the responseText property of XMLHttpRequest used for?
What is the responseText property of XMLHttpRequest used for?
When should old versions of Internet Explorer (IE5 and IE6) use an ActiveX Object to create an XMLHttpRequest?
When should old versions of Internet Explorer (IE5 and IE6) use an ActiveX Object to create an XMLHttpRequest?
What is the purpose of the onreadystatechange event handler in the context of XMLHttpRequest?
What is the purpose of the onreadystatechange event handler in the context of XMLHttpRequest?
What does 'this.readyState == 4 && this.status == 200' represent in the context of XMLHttpRequest?
What does 'this.readyState == 4 && this.status == 200' represent in the context of XMLHttpRequest?
What happens when str.length == 0 in the showHint() function?
What happens when str.length == 0 in the showHint() function?
In the context of AJAX and PHP Example, what does the showHint() function do when the input field is not empty?
In the context of AJAX and PHP Example, what does the showHint() function do when the input field is not empty?
What triggers the onreadystatechange event handler in the context of XMLHttpRequest?
What triggers the onreadystatechange event handler in the context of XMLHttpRequest?
What does the xmlhttp.send() method do in the context of XMLHttpRequest?
What does the xmlhttp.send() method do in the context of XMLHttpRequest?
What are three important properties of the XMLHttpRequest object that determine if the response is ready?
What are three important properties of the XMLHttpRequest object that determine if the response is ready?
When is the response considered ready in the context of XMLHttpRequest?
When is the response considered ready in the context of XMLHttpRequest?
What happens if a classic web page (not using AJAX) needs to change its content?
What happens if a classic web page (not using AJAX) needs to change its content?
Flashcards are hidden until you start studying