title: jquery autocomplete
body: <p>I'm trying to implement an autocomplete field.</p>
  
  <p>I want this autocomplete to retrieve the data from my controller (ObtenerOrdenesCompra).</p>
  
  <p>However it doesn't even call the function on the controller.</p>
  
  <pre><code>$('#Asignacion_Movimiento_OrdenCompra').autocomplete({
      url: '/Asignaciones/ObtenerOrdenesCompra?Serial=' + $("#Asignacion_Movimiento_Material").val(),
      width: 300,
      max: 10,
      delay: 100,
      cacheLength: 1,
      scroll: false,
      highlight: false
  });
  </code></pre>
  
  <p>If i take a look into the source code of my generated html, it shows:</p>
  
  <pre><code>&lt;input type="text" value="" name="Asignacion.Movimiento.OrdenCompra" id="Asignacion_Movimiento_OrdenCompra" autocomplete="off" class="ac_input input-validation-error"&gt;
  </code></pre>
  
  <p>Why is setting the autocomplete option off?</p>
  
  <p>Any ideas?</p>