jPaq Docs - HTML String Conversion

Quick Stats

Target Platforms:   the web (JavaScript)
Download Count:  368

Summary

The functions that can be used to convert strings to and from HTML entities.

Documentation for Children

  • String.prototype.fromHTML()
    Gets a copy of this string with HTML entities converted to the characters that they represent.
  • String.prototype.tag()
    Gets this string wrapped in the specified tag, with the specified attributes attached.
  • String.prototype.toHTML()
    Gets a copy of this string with the characters that have special meaning in HTML converted to their HTML entities.