JavaScript Reference/Javascript Methods/navigate
<html>
<body>
<script language="JavaScript">
function function1() {
window.navigate("http://www.wbex.ru");
}
</script>
<input id=myB
type="button"
value="Navigate to wbex.ru home page"
onclick="function1();">
</body>
</html>
+----------------+--------------------------------------------------------------+
| Applied_To |window |
+----------------+--------------------------------------------------------------+
Note:
Loads a new document into the current window.
Syntax:
window.navigate(param1)
Parameters:
param1 Required; the URL of the document.