title: Autocomplete Dropdown in mvc4?
body: <p>Hi I have one field called <strong>CustomerName</strong> it is drop down. I want to make this field as Autocomplete drop down instead of selecting the value . But i can't get any idea to do this task . i am getting lot of confusions  so please any one help me to solve this issue</p>
  
  <p><strong>My Controller code</strong></p>
  
  <pre><code>public JsonResult GetCustomers()
  {
      return Json(db.Customers.ToList(), JsonRequestBehavior.AllowGet);
  }
  </code></pre>
  
  <p><strong>My View Code</strong></p>
  
  <pre><code>@Html.Label("Customer Name", new { @class = "control-label" })
  @Html.DropDownListFor(model =&gt; model.CustomerID, new SelectList(string.Empty, "Value", "Text"), "Please select a Customer", new { @class = "form-control required", type = "text" })
  </code></pre>
  
  <p><strong>My J-query Code</strong> </p>
  
  <pre><code>$(function () {
      $.ajax(
          '@Url.Action("GetCustomers", "VisitorsForm")',{
           type: "GET",
           datatype: "Json",
           success: function (data) {
               $.each(data, function (index, value) {
                   $('#CustomerID').append('&lt;option value="' + value.CustomerID + '"&gt;' + value.DisplayName + '&lt;/option&gt;');
               });
           }
      });
  });
  </code></pre>
  
  <p>This is my code it will load the CustomerName  in CustomerName Field from Db.it is perfectly working . But i want to make this field as Autocomplete Dropdown.I tried many ways but no use no one is working for this task. Please any one help me to complete this Autocomplete dropdown task. </p>
  
  <p>Advance Thanks..</p>