1.

Which of the following is the correct syntax to redirect a url using JavaScript?

A. document.location='http://www.newlocation.com';
B. browser.location='http://www.newlocation.com';
C. navigator.location='http://www.newlocation.com';
D. window.location='http://www.newlocation.com';
Answer» E.


Discussion

No Comment Found