Implements reset button

This commit is contained in:
Matthew Rasmus 2014-12-07 11:18:53 -08:00
parent 7e0c39a82d
commit 4d0a6a6bd6
2 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,17 @@
<html>
<head></head>
<body>
<!-- Run with nc -l 8000 -->
<form action="http://localhost:8000" method=get id="foo">
<input name=bar type=checkbox checked>
<input name=baz value="baz1" type=radio checked>
<input name=baz value="baz2" type=radio>
<input type=text id=hi name=bye value="hi!">
<input type=text id=aloha name=empty value="">
<input type=text id=welcome name=reallyempty>
<textarea id=textarea>Hello
TextArea!</textarea>
<input type=reset>
</form>
</body>
</html>