Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
List various properties of XMLHttpRequest.
Home
AJAX
List various properties of XMLHttpRequest.
0
votes
asked
Aug 8, 2023
in
AJAX
by
sharadyadav1986
List various properties of XMLHttpRequest.
xmlhttprequest
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 8, 2023
by
sharadyadav1986
Following are lists of XMLHttpRequest properties:
onreadystatechange – For every state changes event gets fired by event handler.
readyState – Defines current state of XMLHttpRequest
responseText – Response is returned as string.
responseXML – Response is returned as XML in XML document object and parsed using DOM tree properties and methods.
status – status is returned as number. Example: 404 for “Not Found” 200 for “OK”
statusText – status is returned as text. Example: “Not Found” or “OK”
...