This property specifies the initial document body contents of the Ephox EditLive! applet. When setting this property it should be noted that, when provided with a document, only information between the <BODY> and </BODY> tags will be retrieved and placed into the instance of EditLive!. This property is mutually exclusive with the setDocument Method.
Visual Basic Script
This attribute no longer exists in the ASP.NET controls. Please use the Content property instead.
A string specifying the initial document body contents of the EditLive! applet.
The default value is an empty string.
The following code would set the initial document body contents of EditLive! to be equal to Initial Contents of Ephox EditLive!. The <P> and </P> tags will not be seen in the window as they will be parsed as HTML. However, these tags will be visible in the Code View.
The following code creates a <TEXTAREA>, named bodyContents, that will have its contents loaded into an instance of EditLive! via the SetBody function. The SetBody function will be associated with a HTML button. The name of the EditLive! for Java applet is editlive_js.
The Body property is mutually exclusive with the setDocument Method.