» tagged pages
» logout

(Feed found, click Add Page to syndicate.) Error finding feed, please try again » Find feed title

A Blog Page allows you to add entries, for news or other time sensitive postings

(Login required to save to your tagged pages.)
(or Cancel)

Recent Edits

edit by 85.1.245.28

XHConn

June 21

hello

Undo this change because:
editing undone by 66.103.229.169

XHConn Source

April 15
“missinformation”

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike...

» complete change

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike License **

** http://creativecommons.org/licenses/by-sa/2.0/ **/

function XHConn()

{

var xmlhttp, bComplete = false;

try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }

catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }

catch (e) { try { xmlhttp = new XMLHttpRequest(); }

catch (e) { xmlhttp = false; }}}

if (!xmlhttp) return null;

this.connect = function(sURL, sMethod, sVars, fnDone)

{

if (!xmlhttp) return false;

bComplete = false;

sMethod = sMethod.toUpperCase();

try {

if (sMethod == "GET")

{

xmlhttp.open(sMethod, sURL+"?"+sVars, true);

sVars = "";

}

else

{

xmlhttp.open(sMethod, sURL, true);

xmlhttp.setRequestHeader("Method", "POST "+sURL+" HTTP/1.1");

xmlhttp.setRequestHeader("Content-Type",

"application/x-www-form-urlencoded");

}

xmlhttp.onreadystatechange = function(){

if (xmlhttp.readyState == 4 && !bComplete)

{

bComplete = true;

fnDone(xmlhttp);

}};

xmlhttp.send(sVars);

}

catch(z) { return false; }

return true;

};

return this;

}

</pre>

Undo this change because:

XHConn

April 14

XHConn is a small [[Javascript]] library that exposes a data object with a single method: *connect*.

Invoking this method ...

» complete change

XHConn is a small [[Javascript]] library that exposes a data object with a single method: *connect*.

Invoking this method creates an asynchronous [[XMLHTTPRequest]] and then triggers the specified [[callback]] function with the server's response.

an example of calling this code:

<pre>

<code>

var myConn = new XHConn();

myConn.connect("mypage.php", "POST",

"foo=bar&baz=qux",fnWhenDone);

function fnWhenDone(XML)

{

alert(XML.responseText);

}

</code>

</pre>

This fires off an [[Ajax]] requests and triggers a callback function when the server responds, passing the server reponse as an argument to the callback function.

"Download XHConn here":http://xkr.us/code/javascript/XHConn/XHConn.js

XHConn Source

April 14

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike...

» complete change

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike License **

** http://creativecommons.org/licenses/by-sa/2.0/ **/

function XHConn()

{

var xmlhttp, bComplete = false;

try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }

catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }

catch (e) { try { xmlhttp = new XMLHttpRequest(); }

catch (e) { xmlhttp = false; }}}

if (!xmlhttp) return null;

this.connect = function(sURL, sMethod, sVars, fnDone)

{

if (!xmlhttp) return false;

bComplete = false;

sMethod = sMethod.toUpperCase();

try {

if (sMethod == "GET")

{

xmlhttp.open(sMethod, sURL+"?"+sVars, true);

sVars = "";

}

else

{

xmlhttp.open(sMethod, sURL, true);

xmlhttp.setRequestHeader("Method", "POST "+sURL+" HTTP/1.1");

xmlhttp.setRequestHeader("Content-Type",

"application/x-www-form-urlencoded");

}

xmlhttp.onreadystatechange = function(){

if (xmlhttp.readyState == 4 && !bComplete)

{

bComplete = true;

fnDone(xmlhttp);

}};

xmlhttp.send(sVars);

}

catch(z) { return false; }

return true;

};

return this;

}

</pre>

edit by 74.95.14.146

XHConn

February 20

Invoking this method creates an asynchronous [[XMLHTTPRequest]] and then triggers the specified [[callback]] function with...

» complete change

XHConn is a small [[Javascript]] library that exposes a data object with a single method: *connect*.

Invoking this method creates an asynchronous [[XMLHTTPRequest]] and then triggers the specified [[callback]] function with the server's response.

an example of calling this code:

<pre>

<code>

var myConn = new XHConn();

myConn.connect("mypage.php", "POST",

"foo=bar&baz=qux",fnWhenDone);

function fnWhenDone(XML)

{

alert(XML.responseText);

}

</code>

</pre>

This fires off an [[Ajax]] requests and triggers a callback function when the server responds, passing the server reponse as an argument to the callback function.

"Download XHConn here":http://xkr.us/code/javascript/XHConn/XHConn.js

re-created by alex

XHConn Source

April 30, 2006
The page was created.
XHConn Code

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike...

» complete change

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike License **

** http://creativecommons.org/licenses/by-sa/2.0/ **/

function XHConn()

{

var xmlhttp, bComplete = false;

try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }

catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }

catch (e) { try { xmlhttp = new XMLHttpRequest(); }

catch (e) { xmlhttp = false; }}}

if (!xmlhttp) return null;

this.connect = function(sURL, sMethod, sVars, fnDone)

{

if (!xmlhttp) return false;

bComplete = false;

sMethod = sMethod.toUpperCase();

try {

if (sMethod == "GET")

{

xmlhttp.open(sMethod, sURL+"?"+sVars, true);

sVars = "";

}

else

{

xmlhttp.open(sMethod, sURL, true);

xmlhttp.setRequestHeader("Method", "POST "+sURL+" HTTP/1.1");

xmlhttp.setRequestHeader("Content-Type",

"application/x-www-form-urlencoded");

}

xmlhttp.onreadystatechange = function(){

if (xmlhttp.readyState == 4 && !bComplete)

{

bComplete = true;

fnDone(xmlhttp);

}};

xmlhttp.send(sVars);

}

catch(z) { return false; }

return true;

};

return this;

}

</pre>

Undo this change because:
deleted by 66.143.45.10

XHConn Source

April 29, 2006
The page and its contents were erased.
XHConn Code

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike...

» complete change

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike License **

** http://creativecommons.org/licenses/by-sa/2.0/ **/

function XHConn()

{

var xmlhttp, bComplete = false;

try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }

catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }

catch (e) { try { xmlhttp = new XMLHttpRequest(); }

catch (e) { xmlhttp = false; }}}

if (!xmlhttp) return null;

this.connect = function(sURL, sMethod, sVars, fnDone)

{

if (!xmlhttp) return false;

bComplete = false;

sMethod = sMethod.toUpperCase();

try {

if (sMethod == "GET")

{

xmlhttp.open(sMethod, sURL+"?"+sVars, true);

sVars = "";

}

else

{

xmlhttp.open(sMethod, sURL, true);

xmlhttp.setRequestHeader("Method", "POST "+sURL+" HTTP/1.1");

xmlhttp.setRequestHeader("Content-Type",

"application/x-www-form-urlencoded");

}

xmlhttp.onreadystatechange = function(){

if (xmlhttp.readyState == 4 && !bComplete)

{

bComplete = true;

fnDone(xmlhttp);

}};

xmlhttp.send(sVars);

}

catch(z) { return false; }

return true;

};

return this;

}

</pre>

edit by alex

XHConn

March 22, 2006

Invoking this method creates an asynchronous [[XMLHTTPRequest]] and then triggers the specified [[callback]] function with...

» complete change

XHConn is a small [[Javascript]] library that exposes a data object with a single method: *connect*.

Invoking this method creates an asynchronous [[XMLHTTPRequest]] and then triggers the specified [[callback]] function with the server's response.

an example of calling this code:

<pre>

<code>

var myConn = new XHConn();

myConn.connect("mypage.php", "POST",

"foo=bar&baz=qux",fnWhenDone);

fnWhenDone(XML)

{

alert(XML.responseText);

}

</code>

</pre>

This fires off an [[Ajax]] requests and triggers a callback function when the server responds, passing the server reponse as an argument to the callback function.

"Download XHConn here":http://xkr.us/code/javascript/XHConn/XHConn.js

edit by alex

XHConn

March 22, 2006
asdf
Undo this change because:
editing undone by 66.98.86.97

XHConn

March 22, 2006
asdf XHConn
Undo this change because:
edit by 66.98.86.97

XHConn

March 22, 2006
XHConn asdf
Undo this change because:
edit by 66.98.86.97

XHConn

March 22, 2006

Invoking this method creates an asynchronous [[XMLHTTPRequest]] and then triggers the specified [[callback]] function with...

» complete change

XHConn is a small [[Javascript]] library that exposes a data object with a single method: *connect*.

Invoking this method creates an asynchronous [[XMLHTTPRequest]] and then triggers the specified [[callback]] function with the server's response.

an example of calling this code:

<pre>

<code>

var myConn = new XHConn();

myConn.connect("mypage.php", "POST",

"foo=bar&baz=qux",fnWhenDone);

fnWhenDone(XML)

{

alert(XML.responseText);

}

</code>

</pre>

This fires off an [[Ajax]] requests and triggers a callback function when the server responds, passing the server reponse as an argument to the callback function.

"Download XHConn here":http://xkr.us/code/javascript/XHConn/XHConn.js

edit by 66.98.86.97

XHConn

March 22, 2006
asdf
deleted by alex

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

February 23, 2006
“moved”
The entry and its contents were erased.
http://xkr.us/code/javascript/XHConn/XHConn.js
code javascript download Downloads

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike...

» complete change

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike License **

** http://creativecommons.org/licenses/by-sa/2.0/ **/

function XHConn()

{

var xmlhttp, bComplete = false;

try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }

catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }

catch (e) { try { xmlhttp = new XMLHttpRequest(); }

catch (e) { xmlhttp = false; }}}

if (!xmlhttp) return null;

this.connect = function(sURL, sMethod, sVars, fnDone)

{

if (!xmlhttp) return false;

bComplete = false;

sMethod = sMethod.toUpperCase();

try {

if (sMethod == "GET")

{

xmlhttp.open(sMethod, sURL+"?"+sVars, true);

sVars = "";

}

else

{

xmlhttp.open(sMethod, sURL, true);

xmlhttp.setRequestHeader("Method", "POST "+sURL+" HTTP/1.1");

xmlhttp.setRequestHeader("Content-Type",

"application/x-www-form-urlencoded");

}

xmlhttp.onreadystatechange = function(){

if (xmlhttp.readyState == 4 && !bComplete)

{

bComplete = true;

fnDone(xmlhttp);

}};

xmlhttp.send(sVars);

}

catch(z) { return false; }

return true;

};

return this;

}

</pre>

Undo this change because:
created by alex

XHConn Source

February 23, 2006
The page was created.
XHConn Code
XHConn Source
Article

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike...

» complete change

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike License **

** http://creativecommons.org/licenses/by-sa/2.0/ **/

function XHConn()

{

var xmlhttp, bComplete = false;

try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }

catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }

catch (e) { try { xmlhttp = new XMLHttpRequest(); }

catch (e) { xmlhttp = false; }}}

if (!xmlhttp) return null;

this.connect = function(sURL, sMethod, sVars, fnDone)

{

if (!xmlhttp) return false;

bComplete = false;

sMethod = sMethod.toUpperCase();

try {

if (sMethod == "GET")

{

xmlhttp.open(sMethod, sURL+"?"+sVars, true);

sVars = "";

}

else

{

xmlhttp.open(sMethod, sURL, true);

xmlhttp.setRequestHeader("Method", "POST "+sURL+" HTTP/1.1");

xmlhttp.setRequestHeader("Content-Type",

"application/x-www-form-urlencoded");

}

xmlhttp.onreadystatechange = function(){

if (xmlhttp.readyState == 4 && !bComplete)

{

bComplete = true;

fnDone(xmlhttp);

}};

xmlhttp.send(sVars);

}

catch(z) { return false; }

return true;

};

return this;

}

</pre>

Undo this change because:
deleted by alex

XHConn.js

February 23, 2006
The page and its contents were erased.
XHConn
Undo this change because:
created by alex

XHConn.js

February 23, 2006
The page was created.
XHConn
XHConn.js
Article
edit by alex

Get Started

February 23, 2006
Blog Links
Undo this change because:
editing undone by alex

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

February 23, 2006
code javascript download Downloads xhconn

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike...

» complete change

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike License **

** http://creativecommons.org/licenses/by-sa/2.0/ **/

function XHConn()

{

var xmlhttp, bComplete = false;

try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }

catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }

catch (e) { try { xmlhttp = new XMLHttpRequest(); }

catch (e) { xmlhttp = false; }}}

if (!xmlhttp) return null;

this.connect = function(sURL, sMethod, sVars, fnDone)

{

if (!xmlhttp) return false;

bComplete = false;

sMethod = sMethod.toUpperCase();

try {

if (sMethod == "GET")

{

xmlhttp.open(sMethod, sURL+"?"+sVars, true);

sVars = "";

}

else

{

xmlhttp.open(sMethod, sURL, true);

xmlhttp.setRequestHeader("Method", "POST "+sURL+" HTTP/1.1");

xmlhttp.setRequestHeader("Content-Type",

"application/x-www-form-urlencoded");

}

xmlhttp.onreadystatechange = function(){

if (xmlhttp.readyState == 4 && !bComplete)

{

bComplete = true;

fnDone(xmlhttp);

}};

xmlhttp.send(sVars);

}

catch(z) { return false; }

return true;

};

return this;

}

</pre>

Undo this change because:
edit by alex

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

February 23, 2006
code javascript xhconn download Downloads

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike...

» complete change

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike License **

** http://creativecommons.org/licenses/by-sa/2.0/ **/

function XHConn()

{

var xmlhttp, bComplete = false;

try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }

catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }

catch (e) { try { xmlhttp = new XMLHttpRequest(); }

catch (e) { xmlhttp = false; }}}

if (!xmlhttp) return null;

this.connect = function(sURL, sMethod, sVars, fnDone)

{

if (!xmlhttp) return false;

bComplete = false;

sMethod = sMethod.toUpperCase();

try {

if (sMethod == "GET")

{

xmlhttp.open(sMethod, sURL+"?"+sVars, true);

sVars = "";

}

else

{

xmlhttp.open(sMethod, sURL, true);

xmlhttp.setRequestHeader("Method", "POST "+sURL+" HTTP/1.1");

xmlhttp.setRequestHeader("Content-Type",

"application/x-www-form-urlencoded");

}

xmlhttp.onreadystatechange = function(){

if (xmlhttp.readyState == 4 && !bComplete)

{

bComplete = true;

fnDone(xmlhttp);

}};

xmlhttp.send(sVars);

}

catch(z) { return false; }

return true;

};

return this;

}

</pre>

Undo this change because:
edit by alex

XHConn

February 19, 2006

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

"foo=bar&baz=qux",fnWhenDone);

fnWhenDone(XML)

» complete change

XHConn is a small [[Javascript]] library that exposes a data object with a single method: *connect*.

Invoking this method creates an asynchronous [[XMLHTTPRequest]] and then triggers the specified [[callback]] function with the server's response.

an example of calling this code:

<pre>

<code>

var myConn = new XHConn();

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

"foo=bar&baz=qux",fnWhenDone);

fnWhenDone(XML)

{

alert(XML.responseText);

}

</code>

</pre>

This fires off an [[Ajax]] requests and triggers a callback function when the server responds, passing the server reponse as an argument to the callback function.

"Download XHConn here":http://xkr.us/code/javascript/XHConn/XHConn.js

edit by alex

XHConn

February 19, 2006

<pre>

<code>

var myConn = new XHConn();

myConn.connect("mypage.php", @myConn.connect("mypage.php", "POST", "foo=bar&baz=qux",...

» complete change

XHConn is a small [[Javascript]] library that exposes a data object with a single method: *connect*.

Invoking this method creates an asynchronous [[XMLHTTPRequest]] and then triggers the specified [[callback]] function with the server's response.

an example of calling this code:

<pre>

<code>

var myConn = new XHConn();

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

fnWhenDone(XML)

{

alert(XML.responseText);

}

</code>

</pre> fnWhenDone);@

This fires off an [[Ajax]] requests and triggers a callback function when the server responds, passing the server reponse as an argument to the callback function.

"Download XHConn here":http://xkr.us/code/javascript/XHConn/XHConn.js

re-created by alex

Get Started

February 2, 2006
“vandalism”
The page was created.
Undo this change because:
re-created by alex

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

February 2, 2006
“vandalism”
The entry was created.
http://xkr.us/code/javascript/XHConn/XHConn.js
code javascript download Downloads

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike...

» complete change

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike License **

** http://creativecommons.org/licenses/by-sa/2.0/ **/

function XHConn()

{

var xmlhttp, bComplete = false;

try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }

catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }

catch (e) { try { xmlhttp = new XMLHttpRequest(); }

catch (e) { xmlhttp = false; }}}

if (!xmlhttp) return null;

this.connect = function(sURL, sMethod, sVars, fnDone)

{

if (!xmlhttp) return false;

bComplete = false;

sMethod = sMethod.toUpperCase();

try {

if (sMethod == "GET")

{

xmlhttp.open(sMethod, sURL+"?"+sVars, true);

sVars = "";

}

else

{

xmlhttp.open(sMethod, sURL, true);

xmlhttp.setRequestHeader("Method", "POST "+sURL+" HTTP/1.1");

xmlhttp.setRequestHeader("Content-Type",

"application/x-www-form-urlencoded");

}

xmlhttp.onreadystatechange = function(){

if (xmlhttp.readyState == 4 && !bComplete)

{

bComplete = true;

fnDone(xmlhttp);

}};

xmlhttp.send(sVars);

}

catch(z) { return false; }

return true;

};

return this;

}

</pre>

Undo this change because:
deleted by 80.63.97.53

Get Started

February 2, 2006
The page and its contents were erased.
deleted by 80.63.97.53

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

February 2, 2006
The entry and its contents were erased.
http://xkr.us/code/javascript/XHConn/XHConn.js
code javascript download Downloads

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike...

» complete change

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike License **

** http://creativecommons.org/licenses/by-sa/2.0/ **/

function XHConn()

{

var xmlhttp, bComplete = false;

try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }

catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }

catch (e) { try { xmlhttp = new XMLHttpRequest(); }

catch (e) { xmlhttp = false; }}}

if (!xmlhttp) return null;

this.connect = function(sURL, sMethod, sVars, fnDone)

{

if (!xmlhttp) return false;

bComplete = false;

sMethod = sMethod.toUpperCase();

try {

if (sMethod == "GET")

{

xmlhttp.open(sMethod, sURL+"?"+sVars, true);

sVars = "";

}

else

{

xmlhttp.open(sMethod, sURL, true);

xmlhttp.setRequestHeader("Method", "POST "+sURL+" HTTP/1.1");

xmlhttp.setRequestHeader("Content-Type",

"application/x-www-form-urlencoded");

}

xmlhttp.onreadystatechange = function(){

if (xmlhttp.readyState == 4 && !bComplete)

{

bComplete = true;

fnDone(xmlhttp);

}};

xmlhttp.send(sVars);

}

catch(z) { return false; }

return true;

};

return this;

}

</pre>

Undo this change because:
re-created by alex

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

January 31, 2006
“vandalism”
The entry was created.
http://xkr.us/code/javascript/XHConn/XHConn.js
code javascript download Downloads

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike...

» complete change

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike License **

** http://creativecommons.org/licenses/by-sa/2.0/ **/

function XHConn()

{

var xmlhttp, bComplete = false;

try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }

catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }

catch (e) { try { xmlhttp = new XMLHttpRequest(); }

catch (e) { xmlhttp = false; }}}

if (!xmlhttp) return null;

this.connect = function(sURL, sMethod, sVars, fnDone)

{

if (!xmlhttp) return false;

bComplete = false;

sMethod = sMethod.toUpperCase();

try {

if (sMethod == "GET")

{

xmlhttp.open(sMethod, sURL+"?"+sVars, true);

sVars = "";

}

else

{

xmlhttp.open(sMethod, sURL, true);

xmlhttp.setRequestHeader("Method", "POST "+sURL+" HTTP/1.1");

xmlhttp.setRequestHeader("Content-Type",

"application/x-www-form-urlencoded");

}

xmlhttp.onreadystatechange = function(){

if (xmlhttp.readyState == 4 && !bComplete)

{

bComplete = true;

fnDone(xmlhttp);

}};

xmlhttp.send(sVars);

}

catch(z) { return false; }

return true;

};

return this;

}

</pre>

re-created by alex

Get Started

January 31, 2006
The page was created.
deleted by 200.89.192.50

Get Started

January 31, 2006
The page and its contents were erased.
re-created by 200.89.192.50

Get Started

January 31, 2006
The page was created.
deleted by 200.89.192.50

Get Started

January 31, 2006
The page and its contents were erased.
re-created by 200.89.192.50

Get Started

January 31, 2006
The page was created.
deleted by 200.89.192.50

Get Started

January 31, 2006
The page and its contents were erased.
deleted by 200.89.192.50

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

January 31, 2006
The entry and its contents were erased.
http://xkr.us/code/javascript/XHConn/XHConn.js
code javascript download Downloads

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike...

» complete change

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike License **

** http://creativecommons.org/licenses/by-sa/2.0/ **/

function XHConn()

{

var xmlhttp, bComplete = false;

try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }

catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }

catch (e) { try { xmlhttp = new XMLHttpRequest(); }

catch (e) { xmlhttp = false; }}}

if (!xmlhttp) return null;

this.connect = function(sURL, sMethod, sVars, fnDone)

{

if (!xmlhttp) return false;

bComplete = false;

sMethod = sMethod.toUpperCase();

try {

if (sMethod == "GET")

{

xmlhttp.open(sMethod, sURL+"?"+sVars, true);

sVars = "";

}

else

{

xmlhttp.open(sMethod, sURL, true);

xmlhttp.setRequestHeader("Method", "POST "+sURL+" HTTP/1.1");

xmlhttp.setRequestHeader("Content-Type",

"application/x-www-form-urlencoded");

}

xmlhttp.onreadystatechange = function(){

if (xmlhttp.readyState == 4 && !bComplete)

{

bComplete = true;

fnDone(xmlhttp);

}};

xmlhttp.send(sVars);

}

catch(z) { return false; }

return true;

};

return this;

}

</pre>

Undo this change because:
re-created by alex

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

January 24, 2006
The entry was created.
http://xkr.us/code/javascript/XHConn/XHConn.js
code javascript download Downloads

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike...

» complete change

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike License **

** http://creativecommons.org/licenses/by-sa/2.0/ **/

function XHConn()

{

var xmlhttp, bComplete = false;

try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }

catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }

catch (e) { try { xmlhttp = new XMLHttpRequest(); }

catch (e) { xmlhttp = false; }}}

if (!xmlhttp) return null;

this.connect = function(sURL, sMethod, sVars, fnDone)

{

if (!xmlhttp) return false;

bComplete = false;

sMethod = sMethod.toUpperCase();

try {

if (sMethod == "GET")

{

xmlhttp.open(sMethod, sURL+"?"+sVars, true);

sVars = "";

}

else

{

xmlhttp.open(sMethod, sURL, true);

xmlhttp.setRequestHeader("Method", "POST "+sURL+" HTTP/1.1");

xmlhttp.setRequestHeader("Content-Type",

"application/x-www-form-urlencoded");

}

xmlhttp.onreadystatechange = function(){

if (xmlhttp.readyState == 4 && !bComplete)

{

bComplete = true;

fnDone(xmlhttp);

}};

xmlhttp.send(sVars);

}

catch(z) { return false; }

return true;

};

return this;

}

</pre>

re-created by 210.110.117.137

Get Started

January 23, 2006
“ssss”
The page was created.
deleted by 210.110.117.137

Get Started

January 23, 2006
The page and its contents were erased.
re-created by 210.110.117.137

Get Started

January 23, 2006
The page was created.
deleted by 210.110.117.137

Get Started

January 23, 2006
“xxx”
The page and its contents were erased.
deleted by 210.110.117.137

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

January 23, 2006
“xxx”
The entry and its contents were erased.
http://xkr.us/code/javascript/XHConn/XHConn.js
code javascript download Downloads

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike...

» complete change

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike License **

** http://creativecommons.org/licenses/by-sa/2.0/ **/

function XHConn()

{

var xmlhttp, bComplete = false;

try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }

catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }

catch (e) { try { xmlhttp = new XMLHttpRequest(); }

catch (e) { xmlhttp = false; }}}

if (!xmlhttp) return null;

this.connect = function(sURL, sMethod, sVars, fnDone)

{

if (!xmlhttp) return false;

bComplete = false;

sMethod = sMethod.toUpperCase();

try {

if (sMethod == "GET")

{

xmlhttp.open(sMethod, sURL+"?"+sVars, true);

sVars = "";

}

else

{

xmlhttp.open(sMethod, sURL, true);

xmlhttp.setRequestHeader("Method", "POST "+sURL+" HTTP/1.1");

xmlhttp.setRequestHeader("Content-Type",

"application/x-www-form-urlencoded");

}

xmlhttp.onreadystatechange = function(){

if (xmlhttp.readyState == 4 && !bComplete)

{

bComplete = true;

fnDone(xmlhttp);

}};

xmlhttp.send(sVars);

}

catch(z) { return false; }

return true;

};

return this;

}

</pre>

Undo this change because:
edit by 81.233.18.103

XHConn

January 3, 2006

XHConn aXHConn is a small [[Javascript]] library that exposes a data object with a single method: *connect*.

» complete change

XHConn aXHConn is a small [[Javascript]] library that exposes a data object with a single method: *connect*.

Invoking this method creates an asynchronous [[XMLHTTPRequest]] and then triggers the specified [[callback]] function with the server's response.

an example of calling this code:

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

This fires off an [[Ajax]] requests and triggers a callback function when the server responds, passing the server reponse as an argument to the callback function.

"Download XHConn here":http://xkr.us/code/javascript/XHConn/XHConn.js

edit by 81.233.18.103

XHConn

January 3, 2006

aXHConn XHConn is a small [[Javascript]] library that exposes a data object with a single method: *connect*.

» complete change

aXHConn XHConn is a small [[Javascript]] library that exposes a data object with a single method: *connect*.

Invoking this method creates an asynchronous [[XMLHTTPRequest]] and then triggers the specified [[callback]] function with the server's response.

an example of calling this code:

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

This fires off an [[Ajax]] requests and triggers a callback function when the server responds, passing the server reponse as an argument to the callback function.

"Download XHConn here":http://xkr.us/code/javascript/XHConn/XHConn.js

re-created by alex

Get Started

December 16, 2005
The page was created.
re-created by alex

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

December 16, 2005
The entry was created.
http://xkr.us/code/javascript/XHConn/XHConn.js
code javascript download Downloads

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike...

» complete change

<pre>

/** XHConn - Simple XMLHTTP Interface - bfults@gmail.com - 2005-04-08 **

** Code licensed under Creative Commons Attribution-ShareAlike License **

** http://creativecommons.org/licenses/by-sa/2.0/ **/

function XHConn()

{

var xmlhttp, bComplete = false;

try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); }

catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); }

catch (e) { try { xmlhttp = new XMLHttpRequest(); }

catch (e) { xmlhttp = false; }}}

if (!xmlhttp) return null;

this.connect = function(sURL, sMethod, sVars, fnDone)

{

if (!xmlhttp) return false;

bComplete = false;

sMethod = sMethod.toUpperCase();

try {

if (sMethod == "GET")

{

xmlhttp.open(sMethod, sURL+"?"+sVars, true);

sVars = "";

}

else

{

xmlhttp.open(sMethod, sURL, true);

xmlhttp.setRequestHeader("Method", "POST "+sURL+" HTTP/1.1");

xmlhttp.setRequestHeader("Content-Type"