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.
<URL: http://jibbering.com/2002/4/httprequest.html>
<URL: http://www.w3.org/TR/XMLHttpRequest/>
<URL: http://developer.mozilla.org/en/XMLHttpRequest>
<URL: 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.