I need to redirect in a javascript file to a given URI specified by the user.
So a quick example how I do this:
function redirect(uri) { if(navigat
I think it should be window.location.href, not document.location.href.
window.location.href
document.location.href