Loading another html page from javascript

html, javascript

Solution

Yes. In the javascript code:

window.location.href = "http://new.website.com/that/you/want_to_go_to.html";

Problem

Is it possible to load a Javascript program from an html page and then make the Javascript load another html page instead of the page the loaded the program?

Original source