You trigger a server-side script by sending an HTTP request.
This can be acheived by setting the ` src ` of an ` img `,
` Image `, ` frame `, or ` iframe `,
or by using XHR.
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.
Isn't Mozilla a rather vague term in this context? What exactly is meant
by "Mozilla" here? Is it a set of browsers based on Gecko engine (such
as Firefox, Seamonkey and others) or one browser named Mozilla? If it's
one browser, do all versions of it provide `XMLHttpRequest` object? If
not, which versions do?
Chrome's global share is now bigger than that of Opera (according to
http://marketshare.hitslink.com/browser-market-share.aspx?qprid=0), so
why not include it in this list too?
> 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.
>
[...]
--
kangax