Gossamer Forum
Home : General : Perl Programming :

Perl <=> Javascript variable passing w/o forms

Quote Reply
Perl <=> Javascript variable passing w/o forms
How would you pass vairables between perl functions and javascript functions without using forms?


http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Jul 11, 2002, 9:30 AM
Quote Reply
Re: [Ian] Perl <=> Javascript variable passing w/o forms In reply to
Mmm...

Code:
var answer = confirm("Do you like scary movies?");

if (answer)
location.href = "http://www.domain.com/cgi-bin/script.cgi?answer=" + answer;
Quote Reply
Re: [Paul] Perl <=> Javascript variable passing w/o forms In reply to
ah, yes.

Thanks Paul


http://www.iuni.com/...tware/web/index.html
Links Plugins