Permalink
Browse files

Update the HTML sample with a mordern way.

  • Loading branch information...
yasuoka committed Sep 22, 2017
1 parent 78c0cb4 commit 32361d1b2f7beed42267457b3e484bf59dc7837c
Showing with 7 additions and 2 deletions.
  1. +7 −2 README.md
View
@@ -24,11 +24,16 @@ How to compile
HTML example
------------
<script type="text/javascript"
src="http://code.jquery.com/jquery-latest.js">
$.get('comment-data.txt.txt?s=' + new Date().getTime(), function(data) {
$("#comment").append(data);
});
</script>
<form action="./comment.cgi" id="commentForm" method="POST">
Your name: <input type="text" name="name" size="10" maxlength="20">
Comment: <input type="text" name="comment" size="40" maxlength="1024">
<input type="submit">
</form>
<ul>
<!--#include file="comment-data.txt" -->
<ul id="comment">
</ul>

0 comments on commit 32361d1

Please sign in to comment.