example.html - jscancer - Javascript crap (relatively small) | |
git clone git://git.codemadness.org/jscancer | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
example.html (551B) | |
--- | |
1 <html> | |
2 <body> | |
3 | |
4 <h1>Example form</h1> | |
5 | |
6 <form method="post" action=""> | |
7 <label for="search">Search:</label> | |
8 <input type="text" id="search" name="search" /> | |
9 <input type="submit" name="save" data-xhr data-xhr-status="shows… | |
10 </form> | |
11 | |
12 Result: | |
13 <div id="result" style="border: 1px #000 solid"> </div> | |
14 | |
15 <script type="text/javascript" src="xhrform.js"></script> | |
16 <script type="text/javascript"> | |
17 function showstatus(x, formdata) { | |
18 var el = document.getElementById("result").innerHTML = "Response… | |
19 } | |
20 </script> | |
21 | |
22 </body> | |
23 </html> |