jQuery UI consists of GUI widgets, visual effects, and themes implemented using HTML, CSS, and jQuery. jQuery UI is great for building UI interfaces for the webpages. The jQuery UI selectmenu widget can provide us with select options. We can use this widget to make a form for different actions.
The jQuery UI Selectmenu destroy() method is used to destroy the select menu list.
$( ".selector" ).selectmenu( "destroy" );
Parameters: This method does not accept any parameter.
CDN Link: First, add jQuery UI scripts needed for your project.
Please Login to comment...