index

returns the node index

number index(HTMLElement node);
nodeHTMLElementa DOM element
numberthe node index in the child nodes collection of the parent

Example

var ind = webix.html.index(someNode);

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.