The first step is to create html page and add links to the javascript files and css dependencies to your project. The jqxMenu widget requires the following files:
$("#jqxmenu").jqxMenu(‘openItem’, itemID);
To set a property(option), you need to pass the property name and value(s) in the
jqxMenu's constructor.
$("#jqxmenu").jqxMenu({ autoOpen: false });
To get a property(option), you need to pass the property name to the jqxMenu's constructor.
var autoopen = $("#jqxmenu").jqxMenu('autoOpen');
To bind to an event of a UI widget, you can use basic jQuery syntax. Let’s suppose
that you want to get the clicked menu item when the user clicks. The example code
below demonstrates how to bind to the ‘itemclick’ event of jqxMenu.
$('#jqxMenu').on('itemclick', function (event) {
var clickedItem = event.args;
});