Add click handler for <input type=submit>

This commit is contained in:
Manish Goregaokar 2014-10-11 19:28:03 +05:30
parent 05134e6d1f
commit 749e2394c5
2 changed files with 20 additions and 2 deletions

View file

@ -0,0 +1,13 @@
<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 name=bye value="hi!">
<input type=submit>
</form>
</body>
</html>