Documentation

toNode

returns an HTML node object

HTMLElement toNode(string id);

Parameters

idstringthe id of the element you want to access

Returns

HTMLElementan HTML node

See also

Example

var node = webix.toNode("someId");

Details

The method works as the getElementById() method.

Back to top