From: FAQ server on
-----------------------------------------------------------------------
FAQ Topic - How do I run a server side script?
-----------------------------------------------------------------------

You trigger a server-side script by sending an HTTP request.
This can be achieved by setting the ` src ` of an ` img `,
` Image `, ` frame `, or ` iframe `, or by using XHR, where supported.

An image will also
"swallow" the data sent back by the server, so that they will
not be visible anywhere.

var dummyImage = new Image();
dummyImage.src = "scriptURL.asp?param=" + varName;

Mozilla, Opera 7.6+, Safari 1.2+, and Windows IE 7
provide the ` XMLHttpRequest ` object
(Windows IE versions 5+, provides ActiveX to acheive an analagous
effect). ` XMLHttpRequest ` can send HTTP requests to
the server, and provides access the ` responseText ` or ` responseXML `
(when the response is XML), and HTTP header information.

http://jibbering.com/2002/4/httprequest.html

http://www.w3.org/TR/XMLHttpRequest/

http://developer.mozilla.org/en/XMLHttpRequest

http://msdn.microsoft.com/en-us/library/ms537505(VS.85).aspx


The complete comp.lang.javascript FAQ is at
http://jibbering.com/faq/

--

The sendings of these daily posts are proficiently hosted
by http://www.pair.com.