Check documentation for the latest version of dhtmlxSuite clearHref DHTMLX Docs

clearHref

removes HREF from an item and returns the item to default onClick behavior

void clearHref(string|number itemId);
itemIdstring|numberitem's id

Example

myMenu.clearHref(itemId);

Back to top