Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

perl asp javascript problem

by NodeReaper (Curate)
on May 07, 2002 at 20:57 UTC ( [id://164821]=perlquestion: print w/replies, xml ) Need Help??

NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

Replies are listed 'Best First'.
Re: perl asp javascript problem
by Mr. Muskrat (Canon) on May 07, 2002 at 21:30 UTC

    Don't look correct to me...
    You have double quotes within double quotes and that just won't work.
    Try either using qw() or backslash your inside quotes like this:

    floater.document.writeln ("<a onClick=\"window.open ('http://soundsvr.pasport.press.net/cgi-bin/oggfile.cgi?&oggfile=test. +ogg', 'NewButtonWindowName','width=200,height=120');\">");
    :)

    Matthew Musgrove
    Who says that programmers can't work in the Marketing Department?
    Or is that who says that Marketing people can't program?
Re: perl asp javascript problem
by atopolc (Pilgrim) on May 07, 2002 at 21:38 UTC
    Did you try escaping the double quotes?

     ("<a onClick=\"window.open

    and height=120');\">")

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-18 00:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found