Ticket #12527: test.html
File test.html, 433 bytes (added by , 15 years ago) |
---|
Line | |
---|---|
1 | <html> |
2 | <head> |
3 | <script type="text/javascript" src="/static/js/jquery.js" charset="utf-8"></script> |
4 | </head> |
5 | <body> |
6 | <script type="text/javascript"> |
7 | |
8 | function ajaxme(){ |
9 | $.get("/test/", function(data){ |
10 | if(data != "ajax") |
11 | alert("Error, no ajax instead :" + data); |
12 | setTimeout("ajaxme()",1000); |
13 | }); |
14 | } |
15 | |
16 | $(document).ready(ajaxme); |
17 | </script> |
18 | </body> |
19 | </html> |