Click or drag to resize
ScriptHelperEscapeJQueryCharacters Method

Note: This API is now obsolete.

Escapes the given string for usage in the jQuery selectors. All meta-characters are escaped using '\'.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This method is obsolete. Use ScriptHelper.GetString instead.")]
public static string EscapeJQueryCharacters(
	string text
)

Parameters

text
Type: SystemString
Text to escape

Return Value

Type: String
See Also