Non-Display Image Silently Causes CGI Program to Run
|
|
|
|
| Articles Reviews Javascript | |
| Written by Adi Bach | |
| Monday, 02 April 2007 | |
|
{mos_sb_discuss:23} JavaScript can be used to create an image object (an area in computer memory that holds the details the browser will need to display an image). No HTML code is needed.
CGI programs can be launched with JavaScript by telling the browser to fill the image object with information, and giving the browser the URL of the CGI program as the source for the image information it is to use. This is an exciting method used by savvy programmers to run CGI programs in the background. The program can run when a page loads or when certain other events happen, such as which link was clicked. The program can run more than once, as often as needed, in fact. Some implementation ideas:
Powered by jReviews |
|
| Last Updated ( Wednesday, 04 July 2007 ) | |
| < Prev | Next > |
|---|







