How to enable an autocomplete in jQuery UI ? Last Updated : 04 Apr, 2023 Comments Improve Suggest changes Like Article Like Report To enable autocomplete in jQuery UI, we will be using the enable() method. jQuery UI enable() method is used to enable the autocomplete. It returns the accordion element completely to its initial state. Syntax: $(".selector" ).autocomplete("enable")Parameters: This method does not accept any parameters. Return values: This method simply returns the button to its pre-initial state. Approach: First, add jQuery UI scripts needed for your project. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"> </script> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.js"></script> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/ui-lightness/jquery-ui.css" rel="stylesheet" type="text/css" /> Example: HTML <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <script src= "https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"> </script> <script src= "https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.js"> </script> <link href= "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/ui-lightness/jquery-ui.css" rel="stylesheet" type="text/css" /> <script> $(function () { var list = [ "One", "two", "Three", "Four", ]; $("#gfg").autocomplete({ source: list }); $("#gfg").autocomplete("enable"); }); </script> </head> <body> <div class="ui-widget"> <p>jQuery UI| enable method</p> <p>GeeksforGeeks</p> <label for="gfg">Tags: </label> <input id="gfg"> </div> </body> </html> Output: Comment More infoAdvertise with us Next Article How to enable an autocomplete in jQuery UI ? taran910 Follow Improve Article Tags : Web Technologies HTML JQuery jQuery-UI Similar Reads How to create jQuery UI Autocomplete ? In this article, we are going to see how to make an input filed (input text) autocomplete. To do this, we use the jquery UI library. Here we take the input field where users have the ability to easily find and select from a pre-populated list of values by typing in search terms and filters. Steps: I 2 min read jQuery UI Autocomplete enable() Method 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 Autocomplete widget is used to perform autocomplete enables to quickly find and select from a pre-populated list of val 1 min read How to use autocomplete search in jQuery ? In this article, we are going to see how to use search auto-complete in JQuery. For this, we are going to use the jQuery inbuilt function called autocomplete. We will do that in two different stages. Create a basic HTML file and add an input bar to it. Implement the autocomplete functionality. HTML 2 min read jQuery UI Autocomplete disable() Method 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 Autocomplete widget is used to perform autocomplete enables to quickly find and select from a pre-populated list of val 1 min read jQuery UI Autocomplete disabled Option jQuery UI Autocomplete disabled option when set to true will disable the menu. The default value is False. Syntax: $( ".selector" ).autocomplete({disabled: false}),Approach: First, add the jQuery Mobile scripts needed for your project. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7 1 min read Like