create

creates a new HTML element

HTMLElement create(string name,object attrs, [string html] );
namestringthe name of an HTML element
attrsobjectthe object with attributes
htmlstringthe inner HTML of a new element
HTMLElementa newly-created HTML element

Example

webix.html.create("div", { name:"myname" }, "Some content");

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.