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');\">")