how to go to a webpage with javasceript code example Example: javascript go to url window.location = url;