in reply to Re^2: Perl, JavaScript and quoting/escaping
in thread Perl, JavaScript and quoting/escaping
print 'alert("Bid(s) Placed: '. $rBid->{cgi}->escapeHTML($sth->rows).'");'."\n";
You are generating JavaScript code using something called escapeHTML. Yeah, that's not going to work. Perhaps you should be using the function I posted that generates JavaScript code instead...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl, JavaScript and quoting/escaping
by Anonymous Monk on May 06, 2011 at 05:46 UTC | |
by ikegami (Patriarch) on May 06, 2011 at 05:55 UTC | |
by Anonymous Monk on May 06, 2011 at 06:16 UTC |