attachHTML

adds an HTML content into a dhtmlxWindow

void attachHTML(string html);

Parameters

htmlstringan HTML content to be added into a window

Example

var dhxWindow = new dhx.Window({title: "Window"});
var html = "<h1>Header</h1><p>paragraph</p>";
dhxWindow.attachHTML(html);
dhxWindow.show();

Related samples

See also
Back to top