Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <head>
- <script>
- function myFunction(){
- var x = document.createElement("LABEL");
- var t = document.createTextNode("Titre");
- x.appendChild(t);
- }
- </script>
- </head>
- <body>
- <form id="myForm" method="POST" action="./exam_coordinates" >
- <label for="question"> Question </label> <br>
- <input class="champ" type="textarea" name="question" id="question" value="" ><br><br>
- <label for="ans"> Answers </label> <br>
- <input type="checkbox" name="ans1" id="ans1" values=""/>
- <input type="text" name="ans1" id="ans1" value="" ><br>
- <input type="checkbox" name="ans2" id="ans2" />
- <input type="text" name="ans2" id="ans2" value="" ><br>
- <br>
- <button onclick="myFunction()">Add proposition</button> <br><br><br>
- <input type="submit" value="submit">
- </form>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement