
Solid, safe website tools.
Whatever your need, Will Bontrager builds powerful software solutions.
|
(Get Attention Ticker for your web site)
Using Perl Variable Values In JavaScript of Web Page Generated with PerlBy Will Bontrager Is that headline a mouthful or what :) We intermittently receive queries about how to use Perl variables within JavaScript. This would be JavaScript that's part of a web page generated/created by the Perl script. Here is an example: In the above code, the Perl script will replace every instance of "$elapsed" with the number assigned to it near the top of the file. It's simple and clear once it's explained. Prior to knowing how it's done, it can be baffling. April 28, 2006 Please note: Articles on this website are presented "as is". However - If you have a question about a CGI script, HTML, CSS, PHP, or JavaScript
Rate this blog post.
No page reload! |
|
|
© 1998-2001 William and Mari Bontrager |
|