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.
In reply to Re: CGI, Javascript and Single Quotes
by ikegami
in thread CGI, Javascript and Single Quotes
by rashley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |