When I have a string that contains an apostrophe, whats the best way
to handle it?

For example, this function call throws the following error:

Function:
onclick="addQuote('This video don't work!'); return false;"

Error:
missing ) after argument list
addQuote('This link don't work!'); return false;

Whats the best way to handle this scenario?

Thanks,

--shawn

Reply via email to