| Auto-Launch CGI Script with JavaScript Tag |
|
|
|
| Articles Reviews CGI | |
| Written by Phil Harrison | |
| Friday, 09 February 2007 | |
|
{mos_sb_discuss:32} Should you need to run a CGI script when a web page loads, a JavaScript tag can be utilized. The SRC of the JavaScript tag is the URL of the script. The CGI script runs, doing what it's programmed to do for you. Before the script quits, it sends some JavaScript code to the browser, satisfying the browser's request. The JavaScript can be an empty variable declaration or it can be code that actually does something for the web page.
This article has examples of everything you need to run a CGI program when a page loads by putting the URL of the program into a JavaScript tag.
Powered by jReviews |
|
| Last Updated ( Sunday, 11 February 2007 ) | |
| < Prev | Next > |
|---|







