jQuery UI consists of GUI widgets, visual effects, and themes implemented using HTML, CSS, and jQuery. It is great for building UI interfaces for the webpages. The jQuery UI Menu widget creates a menu list that is used for mouse and keyboard interactions.
The jQuery UI menu refresh() method is used to refresh the menu items. This method can be used to add/remove items dynamically and display the current menu items. This method does not accept any parameters.
$( ".selector" ).menu( "refresh" );
CDN Link: First, add jQuery UI scripts needed for your project.
Please Login to comment...