Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Belastingaangifte calculator (omzetbelasting)</title>
- <script>
- function add() {
- var form = document.getElementById("form").innerHTML;
- var toadd = '<input type="text">';
- console.log("Form voor actie "+form);
- form += toadd;
- console.log("Form na actie "+form);
- console.log("Waarde toadd: "+toadd);
- }
- </script>
- </head>
- <body>
- <form id="form">
- <input type="text">
- </form>
- <a onclick="javascript:add();" href="#">Voeg velden toe</a>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement