PrepAway - Latest Free Exam Questions & Answers

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.)

PrepAway - Latest Free Exam Questions & Answers

Answer:

One Comment on “How should you complete the relevant code?

  1. Tom says:

    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.




    1



    0

Leave a Reply