Skip to main content

attachHTML()

adds an HTML content into a dhtmlxPopup

attachHTML(html: string): void;

Parameters:

html: string - an HTML content to be added into a popup

Example

var popup = new dhx.Popup();popup.attachHTML("<h1>Hello, I'm popup</h1>");popup.show("popup");

Related sample: Popup. Html Content