external.AutoScan
JavaScript -> Objekty -> External -> metóda AutoScan
Syntax
window.external.AutoScan(param1, param2, param3)
Popis
Príkaz jazyka JavaScript
Connect to a web server.
- param1 Required; the domain address without www. and the . extension.
- param2 Required; the web page to connect to if param1 is invalid.
- param3 Optional; a target window or frame.
Príklad
<html>
<head>
<script language="JavaScript">
function function1() {
window.external.AutoScan("java2s", "index.htm");
}
</script>
</head>
<body>
<button onclick="function1();">Open Java2s.com site</button>
</body>
</html>
<head>
<script language="JavaScript">
function function1() {
window.external.AutoScan("java2s", "index.htm");
}
</script>
</head>
<body>
<button onclick="function1();">Open Java2s.com site</button>
</body>
</html>