kacperon5 - 2011-12-29 21:02:47

Kod:

[html]<SCRIPT LANGUAGE="JavaScript">
<!-- Hide 
function haslo() {
var pass= document.getElementById('passwd').value;

     if (pass == '1234')
        {
            location.href="http://www.gazetka11.pun.pl/page.php?id=8476";
        }
         else
        {
             alert('Przykro mi! Błędne hasło!');
        }
}
// end hide -->
</SCRIPT>
<input id="passwd" type="text"><!-- type="password" -->
<input type="submit" value="Dalej!" onClick=haslo()>[/html]
www.ze.pun.pl www.heroesfactory.pun.pl www.bionicle-club.pun.pl www.umpoznan.pun.pl www.serwer-minecraft.pun.pl