Fix form submission (#129)

* Fix check for radio and checkbox inputs

* Fix GET form submission

* Add example forms for testing

* Refactor query string building
This commit was merged in pull request #129.
This commit is contained in:
Robin North
2018-03-02 20:25:08 +00:00
committed by GitHub
parent 0c7af354fd
commit 07baae8e4d
8 changed files with 214 additions and 38 deletions

View File

@@ -1,15 +1,15 @@
<!doctype html>
<html>
<head>
<meta charset='utf-8'>
<title>Hello</title>
<script src='../pjax.js'></script>
<script src='example.js'></script>
<meta charset="utf-8">
<title>Page 2</title>
<script src="../pjax.js"></script>
<script src="example.js"></script>
</head>
<body>
<div class='body'>
<div class="body">
<h1>Page 2</h1>
Hello. Go to <a href='index.html' class="js-Pjax">Index</a>.
Hello. Go to <a href="index.html" class="js-Pjax">Index</a>.
</div>
</body>
</html>