jcpunk has asked for the wisdom of the Perl Monks concerning the following question:
Any thoughts?
that is what I have got so far. And it 'works' but the newline does not show up, which makes the whole thing actually readable. I realize this is more of a Javascript question then a Perl one, but.....my $files_to_remove = "The following files will be removed from your a +ccount if they exist: \n" . join(", ", @files_to_remove); print <<END; <script language="JavaScript"> function details() { alert("$files_to_remove"); } </script> .... [<a href="javascript:details('')"class="linkmaroonsm">Details</a>] .... END
by the way thanks for all the help that was, is, and will be
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: javascript, perl, and single quotes
by artist (Parson) on Jul 03, 2003 at 20:03 UTC | |
by Petras (Friar) on Jul 04, 2003 at 02:52 UTC | |
by Jenda (Abbot) on Jul 04, 2003 at 19:35 UTC | |
by jcpunk (Friar) on Jul 03, 2003 at 20:06 UTC | |
|
OT: CSS Police
by TGI (Parson) on Jul 04, 2003 at 00:53 UTC |