View Full Version : How I can execute Javascript into Perl?

09-12-2006, 12:22 PM
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.

09-12-2006, 12:33 PM
onMouseOver="linkFTecnica(nref2)">"; Unescaped quotes.

Also, ampersands in HTML must be escaped as &amp;.