InterviewSolution
Saved Bookmarks
| 1. |
Which property in the Window object is used to refer to a Location object?(a) position(b) area(c) window(d) location |
|
Answer» Correct answer is (d) location To explain I would say: The Window object defines properties like location, which refers to a Location object that specifies the URL currently displayed in the window and allows a script to load a new URL into the window. The window.location object can be used to get the current page address (URL) and to redirect the browser to a new page. |
|