What\'s the preferred method to use to change the location of the current web page using JavaScript? I\'ve seen both window.navigate and document.location used. Are there an
window.location will affect to your browser target. document.location will only affect to your browser and frame/iframe.
window.location