Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. <div>
  2. <script>
  3. $(document).ready(function(){
  4. $("#add_question").click(function(){
  5. $("ol").append("<li><input name='question' type='text' /></li><br />");
  6. });
  7. });
  8. </script>
  9. <form action="#" method="post">
  10. <p>Give this questionnaire a title.</p>
  11. <label for="questionnaire_title">Title: </label>
  12. <input name="title" id="questionnaire_title" type="text" />
  13. <p>Add questions to the questionnaire.</p>
  14. <ol>
  15. <li><input name="question" type="text" /></li><br />
  16. </ol>
  17. <input id="add_question" type="button" value="Add Question"/>
  18. <input type="submit" value="Submit" />
  19. </form>
  20. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement