jQuery UI Widgets Forums Navigation Menu, Context Menu Get the value of MenuItem

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 9 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Get the value of MenuItem #52996


    I want to get the hidden value of the dynamic menu Item, for example, I generate Menu with following JS code:
    $(‘#divAddUser’).jqxMenu({ source:
    { label: ‘Add User’, value: 99 }
    height: 32, width: 116, mode: ‘vertical’
    $(‘#divAddUser’).on(‘itemclick’, OnAddUserItemClick)

    As the data is generated dynamically, I need to obtain its value in Function OnAddUserItemClick,
    But I tried to obtain it with Argument of Event, it always remained with 0.
    How could I using JSon format to transfer a value to MenuItem? Is there wrong format of mine in initial format?

    Get the value of MenuItem #53027


    Hello leiyangcl,

    Thank you for your feedback. We confirm there is an issue with getting the value of a menu item.

    Best Regards,

    jQWidgets team

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.