Resource. XHConn

XHConn is a small (1.6 kilobytes) and simple Ajax JavaScript library. This JavaScript library is meant to simplify and unify the code necessary to successfully send and receive simple data via XMLHTTP. This is the simplest and straightforward Ajax library possible.

Example

var my_conn = new XHConn();

if (!my_conn) // XMLHTTP not available. exit method/handle error.

var fnWhenDone = function (oXML) { alert(oXML.responseText); };

my_conn.connect("mypage.php", "POST", "foo=bar&baz=qux", fnWhenDone);

Operating System(s)

bsd,linux,mac,solaris,win2000,winxp,winvista,win7

Demo

0

Download

http://xkr.us/code/javascript/XHConn/

License

Open Source,Creative Commons


Updated on: 20 Apr 2024