Mark Tabor

Mark Tabor

  • 572
  • 1.9k
  • 430.9k

Autofill and suggestion for static dropdownlist using mvc

Sep 22 2019 2:14 AM
Hi  i Have a static dropdown list i mean the values are not coming from database i want to give the features of auto select and suggestion so i found a good refernece here 
http://www.codingfusion.com/Post/Effortlessly-Add-search-functionality-to-asp-net
this works fine on an html page of another project but in my project i added the jquery refernece along with select 2 css and js but still i am getting Select2 is not a function in console check the below screenshot.
I found many refernece said that your order of loading jquery is not right or your query is not properly loaded but i have put a dynamic textbox creation code on the same page and it works fine , i could not get what is wrong below is my code and refernece 
<!-- Inject Script Filtered -->
<!-- Inject Script Filtered -->
<!-- Inject Script Filtered -->
 
 And in body i have 

Answers (1)