How I can execute Javascript into Perl?

Discussion in 'Perl' started by BreddS, Aug 17, 2006.

  1. BreddS

    BreddS New Member

    Joined:
    Aug 17, 2006
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    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. "
     
  2. naveen

    naveen New Member

    Joined:
    Jun 2, 2005
    Messages:
    39
    Likes Received:
    1
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Calcutta, India
    Home Page:
    http://naveenhere.blogspot.com
    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
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice