Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: working with JScript in Perl

by Anonymous Monk
on Oct 08, 2006 at 08:50 UTC ( [id://576959]=note: print w/replies, xml ) Need Help??


in reply to Re: working with JScript in Perl
in thread working with JScript in Perl

Thanks. Now I am able to compile. But when i click the button alert msg is not coming. Am I missing anything?.

Replies are listed 'Best First'.
Re^3: working with JScript in Perl
by Joost (Canon) on Oct 08, 2006 at 15:26 UTC
Re^3: working with JScript in Perl
by Hue-Bond (Priest) on Oct 08, 2006 at 08:56 UTC

    Not sure, but I think you need a semicolon at the end of every javascript statement.

    --
    David Serrano

      Actually no. Although expression and variable declaration statements in Javascript have to end with a semicolon like in C (and Perl, with exceptions), there's a special rule that allows for automatic semicolon insertion so they're effectively optional as long as it's not ambiguous.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://576959]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2024-03-28 19:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found