Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var w=prompt("podaj wiek xD");
- if (w<18)
- {
- document.write("WYPAD MAŁoLACIE XD");
- }
- else
- {
- document.write("Wiek wynosi " +w+ " lat");
- }
- </script>
- <html>
- <head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8">
- </head>
- <body>
- <form>
- <h1>Podaj imię:</h1>
- <input type="text" name="imie: " placeholder="imię" /><br /><br />
- <h1>Podaj nazwisko:</h1>
- <input type="text" name="nazwisko: " placeholder="nazwisko" /><br /><br />
- </form>
- <h1>Wiek:</h1>
- <script>
- var w=prompt("podaj wiek xD");
- if (w<18)
- {
- document.write("Jesteś za młody by wysłać formularz gnoju niedorostku");
- }
- else
- {
- document.write("Wiek wynosi " +w+ " lat masz uprawnienia by wysłać formularz");
- }
- </script>
- <p><form action ="mailto:adam@2wp.pl method="POST" entype="text/plain">
- <input type="submit" value="Wyślij" />
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement