diff options
author | Tom Willemsen | 2011-03-07 09:04:49 +0100 |
---|---|---|
committer | Tom Willemsen | 2011-03-07 09:04:49 +0100 |
commit | 94d2fc1815a919734353c942f224db1de4b4fcb8 (patch) | |
tree | 4168e816ead132bfa3510e272427837c3895f5e2 /emacs.d/nxhtml/tests/in/hg-2008-03-22-ajax.xhtml | |
parent | d0e7674fdb1de12c8de202d4028a5d7ed3669a6e (diff) | |
download | dotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.tar.gz dotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.zip |
Django, org
* Added nxhtml, mostly for django support.
* Changed some org settings.
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, 38 insertions, 0 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 new file mode 100644 index 0000000..22b3ec1 --- /dev/null +++ b/emacs.d/nxhtml/tests/in/hg-2008-03-22-ajax.xhtml @@ -0,0 +1,38 @@ +<!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> |