Suppose 5 html files (A, B, C, D, and E) comprise a website. File A is the index.html file. File C contains a Javascript section (i.e., <script> ... </script>). While I’m within the Javascript section, I want to transfer control to html file D. I tried to do it with (window.location = 'File D.html'). That trial failed, for it transferred control to File A—not to file D. Is there any way to get the result that I want, which is to transfer control from within the Javascript section to an html file that is not the site’s index.html file? If a way exists, then please describe it to me. Thanks for your help.