Home   Pricing

editor.htmlDecode(text)

Converts a string that has been HTML-encoded for HTTP transmission into a decoded string.

Syntax

editor.htmlDecode(text)

Parameter

Type: String

Required. The string to decode.

Return value

Type: String

A decoded string.

Example:

  1. var editor1 = new RichTextEditor("#div_editor1");    
  2. var htmlcode=editor1.htmlDecode(" so a < b and b < c ")  
  3. alert(htmlcode)