Which method is an alternative of the property location of a window object?

Which method is an alternative of the property location of a window object?
A. submit()
B. locate()
C. load()
D. write()
 
Answer: a
Explanation: HTTP requests are initiated when a script sets the location property of a window object or calls the submit() method of a form object. In both cases, the browser loads a new page.
 

Tìm kiếm

Back
Top