Mr_Splash
asked on
JavaScript - escape an apostrophe
Hello,
I'm having problems with the javascript below.
It's failing at the apostrophe as it's ending the onclick there.
Can anyone tell me how I can pass the string keeping the apostrophe?
Thanks
I'm having problems with the javascript below.
It's failing at the apostrophe as it's ending the onclick there.
Can anyone tell me how I can pass the string keeping the apostrophe?
Thanks
onclick='editRecord(50,"It\'s round",17);'
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.