dhtmlxmenu getUserData

Hi,
I am working with dhtmlxmenu. In an earlier development use the function getUserData , but now I have the version v.2.5 build 090,904, is included this feature in this version?

Thank you. A greeting.

Hello,

yes this feature is included to the latest menu version. dhtmlxmenu_ext.js should be included (codebase/ext/ folder).

Hello,
Yes, I have included it but it returns a syntax error in line 13 of file dhtmlxmenu_ext.js. I have not changed the files.

Thank you.
A greeting.

Sorry,
He had changed the files someone else, but I still have the doubt: How can I get the url content of an element item?

Thank you.
Greetings.

Hello,

menu API doesn’t allows to get url that is defined in the href attribute in the xml. You can try to use the next method for this purpose:

var url = menu.itemPull[menu.idPrefix+itemId]["href_link"];

Where menu is menu object, itemId - id of a certain item