eWebEditor Manual V11.2 : Developer Guide : JavaScript API : getHTML
eWebEditor Home >> eWebEditor Manual V11.2 >> Developer Guide >> JavaScript API

3.7.2 getHTML

Description

Returns the HTML code currently in the editor.

Syntax

variable = object.getHTML ();

Notes

The following example will get the HTML code currently in the editor named 'myEditor':

var code = myEditor.getCode();

The variable 'code' now contains the HTML code currently in the editor.