Assign a Perl variable to a JavaScript variable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sasimca007
    New Member
    • Sep 2007
    • 129

    Assign a Perl variable to a JavaScript variable

    how to assign the perl variable to javascript variable?
  • bindalaman
    New Member
    • Jan 2008
    • 1

    #2
    [removed link]

    this artical will help you..!!
    Last edited by acoder; Jan 15 '08, 10:15 AM. Reason: removed link

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      Originally posted by sasimca007
      how to assign the perl variable to javascript variable?
      Use Perl to generate the JavaScript. I'm not sure of the Perl syntax, but the general idea would be:
      [code=javascript]var val = //some Perl to print out Perl variable value[/CODE]

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        Originally posted by bindalaman
        [removed link]

        this artical will help you..!!
        The link posted was not an article, but a link to another forum which violates the Posting Guidelines.

        Comment

        Working...