JavaScript Reference/Javascript Methods/navigate
Версия от 18:30, 25 мая 2010; (обсуждение)
<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.