A way to express innerHTML using WebBrowser
webbrowser1
Pre-preparation
Open project which you want to work and add WebBrowser in TypeDefinition
webbrowser1
Main Source Content
this.Form_onload = function(obj:nexacro.Form,e:nexacro.LoadEventInfo)
{
this.Web.set_url("about:blank");
};
this.Button01_onclick = function(obj:nexacro.Button, e:nexacro.ClickEventInfo)
{
var vHtml = this.Web.getProperty("document").getProperty("body");
vHtml.setProperty( "innerHTML", "Added content using innerHTML type" );
};
Source Location
Sample\Sample_WebBrowser\np_WebBrowser.xfdl