in reply to call js function from CGI?
Just like a static HTML page can contain JavaScript, so can a dynamically built one.
use strict; use warnings; use CGI qw( :standard ); print( header(), start_html('A Simple Example'), qq{<p>Hey look, some HTML!</p>}, qq{<script>alert("Hey look, some JS!");</script>}, end_html(), );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: call js function from CGI?
by Anonymous Monk on Apr 08, 2008 at 14:44 UTC | |
by Corion (Patriarch) on Apr 08, 2008 at 14:48 UTC | |
by ikegami (Patriarch) on Apr 08, 2008 at 17:07 UTC |