Extract and set form values through the DOM—no frameworks required! https://github.com/TheoryOfNekomata/formxtra
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

single-input-with-double-input-submitters.html 347 B

1234567891011121314151617
  1. <!DOCTYPE html>
  2. <html lang="en-PH">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Title</title>
  6. </head>
  7. <body>
  8. <form>
  9. <label>
  10. <span>Hello</span>
  11. <input type="text" name="hello" value="Hi" />
  12. </label>
  13. <input name="action" value="Foo" type="submit" />
  14. <input name="action" value="Bar" type="submit" />
  15. </form>
  16. </body>
  17. </html>