How should you complete the relevant code?

HOTSPOT
A company has an XML file named products.xml on a web server. The file contains a list of the
products that the company sells.
You need to display the contents of the products.xml file in a DIV element named Output.
How should you complete the relevant code? (To answer, select the appropriate option from each
drop-down list in the answer area.)

HOTSPOT
A company has an XML file named products.xml on a web server. The file contains a list of the
products that the company sells.
You need to display the contents of the products.xml file in a DIV element named Output.
How should you complete the relevant code? (To answer, select the appropriate option from each
drop-down list in the answer area.)

Answer:



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Tom

Tom

readyState property:

READYSTATE_UNINITIALIZED (0)
The object has been created, but not initialized (the open method has not been called).
READYSTATE_LOADING (1)
A request has been opened, but the send method has not been called.
READYSTATE_LOADED (2)
The send method has been called. No data is available yet.
READYSTATE_INTERACTIVE (3)
Some data has been received; however, responseText is not available.
READYSTATE_COMPLETE (4)
All the data has been received.