I\'m using materialize ui in an ASP.Net MVC application and I\'m using an autocomplete control with dynamic data.
Here is my code,
Not very fancy, but give it a try:
$(function () { $.ajax({ type: 'GET', // your request type url: "/Home/GetData/", success: function (response) { var myArray = $.parseJSON(response); var dataAC = {}; for(var i=0;i