simple-form.html 187 B

123456789101112
  1. <!DOCTYPE html>
  2. <script>
  3. function submitForm()
  4. {
  5. document.forms[0].submit();
  6. }
  7. </script>
  8. <form method=post>
  9. <input name=foo value="Some unimportant data">
  10. <input type=submit>
  11. </form>