I have been trying to implement different examples of jQuery Autocomplete functionality, but none of them work.
The latest one that I have tried implementing is the following example, which seems to be the simplest jQuery Autocomplete functionality example:
Creating Auto Complete From a Hard Coded JavaScript Array http://www.codedigest.com/posts/45/creating-autocomplete-textbox-in-aspnet-mvc
I added the following code in the @section localscripts section of /Shared/BaseTemplates/_Form.cshtml:
Code in @section localScripts section
I then changed '#Country_Name' to '#FullName' and added div id="FullName" on the form that has the field that I want to implement the jQuery Autocomplete functionality on:
Code in form that has the field
I did not include the jquery-3.6.0.js script src in the @section localscripts section of /Shared/BaseTemplates/_Form.cshtml because it is already installed and being referenced else where. Even if I do add it, the jQuery Autocomplete functionality does not work.
This project is written in C# (MVC).