0

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. How

4
Contributors
3
Replies
4
Views
10 Years
Discussion Span
Last Post by vonfeldt
0

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?

It's not easy to understand what you are saying you want to do.

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?

It looks like you are having problems with the quote characters.
Change "linkFTecnica(nref2)" to 'linkFTecnica(nref2)' . Your perl script is probably aborting with compile errors complaining about BAREWORD, right?

1
$datos .= qq~<a href="$me?C=OFERTAS2&EMPRESA=$empresa_param&NREF=$nref" onMouseOver="linkFTecnica(nref2)">~;
Votes + Comments
what can i say? superior solution ;)
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.