Check documentation for the latest version 6.0 of dhtmlxSuite clearHref DHTMLX Docs

clearHref

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

void clearHref(string|number itemId);

Parameters

itemIdstring|numberitem's id

Example

myMenu.clearHref(itemId);

Back to top