Which of the following method loads a new document?

Quốc Ân

New member
Which of the following method loads a new document?
A. location.new()
B. loadnew()
C. location.load()
D. location.assign()
 
Answer: d
Explanation: The window.location object can be written without the window prefix.
Some examples are window.location.href returns the href (URL) of the current page
window.location.hostname returns the domain name of the web host.
 

Tìm kiếm

Back
Top