Sail E0 Webinar
Question
Which of the following is the correct syntax to redirect a url using JavaScript?
Options:
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: Option D

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers