3.7.5 setHTML
Description
Overwrites all HTML in the editor with new HTML
Syntax
object.setHTML(string html);
Parameters
The single parameter is a string containing HTML code you want to insert
Notes
This function will overwrite all code in the editor with new html.
Example:
The following example will overwrite the HTML code currently in the editor named 'myEditor':
myEditor.setHTML('The code I want to insert'); |