jQuery.quoteString(string) Returns a string-repr of a string, escaping quotes intelligently. Mostly a support function for toJSON.
Examples: >>> jQuery.quoteString("apple") "apple" >>> jQuery.quoteString('"Where are we going?", she asked.') "\"Where are we going?\", she asked."
>>> jQuery.quoteString('"Where are we going?", she asked.') "\"Where are we going?\", she asked."
Examples: >>> jQuery.quoteString("apple") "apple" >>> jQuery.quoteString('"Where are we going?", she asked.') "\"Where are we going?\", she asked."
$.quoteString(string) -> undefined
{}
{undefined}
jQuery.quoteString(string) Returns a string-repr of a string, escaping quotes intelligently.
jQuery.quoteString(string) Returns a string-repr of a string, escaping quotes intelligently.Mostly a support function for toJSON.
Mostly a support function for toJSON.