ph_fixjsquotes PowerHome formula function
Description
Takes a string of text and add's escape characters appropriate for Javascript to single and double quotes.
Syntax
ph_fixjsquotes ( text )
Argument Description
text String. The text to be escaped.
Return value
String. Returns the text with single and double quotes properly escaped. All single quotes will be replaced with \' and double quotes will be replaced with \".