Try to redirect a page with javascript:
window.location.href = "/someFolder/page.aspx"
but the browser downloads the page instead of entering.
Try to redirect a page with javascript:
window.location.href = "/someFolder/page.aspx"
but the browser downloads the page instead of entering.
The page that redirects was .html. Changing it to .aspx resolved the problem, now it just redirects, it's not trying to download it.
If you just want to open the page Use window.open("www.google.com") Explain what exactly you are looking at