Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Perl (http://www.go4expert.com/forums/perl/)
-   -   How I can execute Javascript into Perl? (http://www.go4expert.com/forums/i-execute-javascript-perl-t1225/)

BreddS 17Aug2006 19:55

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

naveen 26Aug2006 12:27

Re: How I can execute Javascript into Perl?
 
Hi,
Your query is little ambigous. Could you please elaborate what you want to achieve with complete code that you are using? JavaScript is a client side affair as opposed to perl which is executed on the server side. You can do all kinds of html manipulation thorugh your perl programs, and javascript can also be embedded. Just that you have to be careful where to use what.

Naveen


All times are GMT +5.5. The time now is 19:01.