in reply to CGI, Javascript and Single Quotes
onclick="return addNote('FlagNotesTable');"
and
onclick="return addNote('FlagNotesTable');"
are the same thing. Both will execute
return addNote('FlagNotesTable');
JavaScript will never even see '. It will be transformed to ' before being passed to JavaScript.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI, Javascript and Single Quotes
by rashley (Scribe) on Nov 15, 2006 at 18:28 UTC | |
by ikegami (Patriarch) on Nov 15, 2006 at 19:05 UTC |