![]() |
How I can execute Javascript into Perl?
"I don't know how I can execute an event of Javascript into a link in a program in Perl.
This event of JavaScript have executed a function that return a HTML page. Anybody know how I can it? Is it possible do it this?: $datos=$datos.""<a href='"" . $me . ""?C=OFERTAS2&EMPRESA="".$empresa_param.""&NREF="" .$nref.""' onMouseOver=""linkFTecnica(nref2)"">""; What is bad in this code? Thank you very much. " |
Re: How I can execute Javascript into Perl?
Are you trying to get the Javascript to execute inside of perl program or just trying to have the perl program output javascript? I'm a tad confused. :)
|
Re: How I can execute Javascript into Perl?
Quote:
If it is a perl function, then you need Code:
onMouseOver=" . linkFTecnica(nref2) . ">";Hope this helped. |
Re: How I can execute Javascript into Perl?
Do you get an error that looks something like this?
Code:
Bareword found where operator expected at test.pl line 1, near "'"" . $me . ""?C=OFERTAS2&EMPRESA="".$empresa_param.""&NREF="".$nref.""' onMouseOver"Code:
# assuming linkFTecnica is a perl functionAlso, remember that when you put a scalar variable within double quotes that it gets expanded. Code:
$x = "test";Code:
$x = "test";Code:
$x = "test"; |
| All times are GMT -5. The time now is 18:45. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi