Extract and set form values through the DOM—no frameworks required! https://github.com/TheoryOfNekomata/formxtra
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 line
369 B

  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. <button name="action" value="Foo" type="submit">Foo</button>
  14. <button name="action" value="Bar" type="submit">Bar</button>
  15. </form>
  16. </body>
  17. </html>