Q Quốc Ân New member Sep 19, 2021 #1 Which of the following method loads a new document? A. location.new() B. loadnew() C. location.load() D. location.assign()
Which of the following method loads a new document? A. location.new() B. loadnew() C. location.load() D. location.assign()
H Huyền Thu New member Sep 19, 2021 #2 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. Upvote 0 Downvote
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.