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?