escapeHTML Function

Top  Previous  Next

Makes strings safe for insertion as text into a web document.

Syntax

escapeHTML (string)

Arguments

stringThe string to be inserted as text into a web document.

Return Value

The string converted to text.

Examples

escapeHTML("CellScript is working!")// Returns CellScript is working!