Skip to content

Instantly share code, notes, and snippets.

@6footgeek
Created March 4, 2020 11:19
Show Gist options
  • Save 6footgeek/4b463951ce8eefef08a2e374535917af to your computer and use it in GitHub Desktop.
Save 6footgeek/4b463951ce8eefef08a2e374535917af to your computer and use it in GitHub Desktop.
Simple html form with duplicate buttons testing default type behaviour
<!DOCTYPE html>
<html>
<body>
<form action="" method="get">
<input type="text" id="name" name="name" value="modify me...."><br>
<button name="clicked" value="One">I Submit</button>
<button type="reset" name="clicked" value="Two">I Reset</button>
<button name="clicked" value="Three">I submit</button>
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment