diff options
Diffstat (limited to 'emacs.d/nxhtml/tests/in/hg-2008-03-22-ajax.xhtml')
-rw-r--r-- | emacs.d/nxhtml/tests/in/hg-2008-03-22-ajax.xhtml | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/emacs.d/nxhtml/tests/in/hg-2008-03-22-ajax.xhtml b/emacs.d/nxhtml/tests/in/hg-2008-03-22-ajax.xhtml deleted file mode 100644 index 22b3ec1..0000000 --- a/emacs.d/nxhtml/tests/in/hg-2008-03-22-ajax.xhtml +++ /dev/null @@ -1,38 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta name="generator" content= - "HTML Tidy for Linux/x86 (vers 6 November 2007), see www.w3.org" /> - <title></title> - </head> - <body> - <script language="JavaScript" type="text/javascript"> - //<![CDATA[ -function test() { - var xmlhttp = new XMLHttpRequest(); - xmlhttp.onreadystatechange=function() { - if (xmlhttp.readystate==4) { - if (xmlhttp.status==200) { - alert(xmlhttp.responseText); - }else { - alert(xmlhttp.status); - } - #ffff00; - } - xmlhttp.open("post","/hello/cardCpu/queryList"); - var body = "label="+encodeURIComponent("±£ΝΝ"); - alert(body) - xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded"); - xmlhttp.send(body); - } -} -//]]> - </script> - <hr /> - <address><a href="mailto:agile@agile">agile.guo</a></address> - <!-- Created: Thu Sep 14 22:01:37 CST 2006 --> - <!-- hhmts start --> - Last modified: Thu Sep 14 22:01:42 CST 2006 <!-- hhmts end --> - </body> -</html> |