htmlAttributeEncode (Client API reference)

Encodes the specified string so that it can be used in an HTML.

Syntax

Xrm.Encoding.htmlAttributeEncode(arg)

Parameters

Parameter Name Type Required Description
arg String Required String to be encoded.

Return Value

Type: String

Description: Encoded string.

htmEncode