Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="pl" dir="ltr">
- <head>
- <meta charset="utf-8">
- <title>JavaScript - ciasteczka</title>
- </head>
- <body>
- <form id="ciacho" action="#" name="theForm">
- <input type="text" id="nazwa" placeholder="nazwa" /><br>
- <input type="text" id="wartosc" placeholder="wartość" /><br>
- <input type="text" id="czas" placeholder="czas" /><br>
- <button type="button" onclick="utworzCiasteczko()">Utwórz ciasteczko</button><br>
- </form>
- <form id="ciacho" action="#" name="theForm">
- <input type="text" id="nazwa2" placeholder="nazwa" /><br>
- <button type="button" onclick="sprawdzCiasteczko()">Sprawdź ciasteczko</button><br>
- </form>
- <form id="ciacho" action="#" name="theForm">
- <input type="text" id="nazwa3" placeholder="nazwa" /><br>
- <button type="button" onclick="usunCiasteczko()">Usuń ciasteczko</button><br>
- </form>
- <script type="text/javascript">
- ...
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement