HESLO

ID
NAZOV SKRIPTU:
POPIS CINNOSTI:
DLZKA:
TESTOVANE POD:

 

043
p043.html / p043.zip
Po zadani hesla nahra stranku heslo.html
579b
NN 4.01, IE 4.0

UKAZKA

Zdrojovy tvar:

<html>
<
head>
<
title>
JavaScript DESTINATION - P043
<
/title>
<
script language="JavaScript">
<!---
function checkPassword() {
var location;
var password;
password=this.document.password.inputbox.value
location=password + ".html"
goTo(location)
}
function goTo(location){
document.location.href = location;
}
// -->
<
/script>
<
/head>
<
body>
<
form name="password">
<
input type="password" name="inputbox" value="" size=20><br>
<
input type="button" name="button" value=" Vysli heslo " onclick="checkPassword(this.form)">
<
/form>
<
/body>
<
/html>
[ Navrat ]