title: Problems with setOptions in jquery
body: <p>Im really sorry for asking such a newby question but I dont know what else to do.</p>
  
  <p>I try to do the following</p>
  
  <pre><code>&lt;html&gt;&lt;head&gt;&lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
  
  &lt;link rel="stylesheet" type="text/css" href="./js/jquery.autocomplete.css"&gt;
  
  
  
    &lt;script src="./js/jquery.js" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt;
    &lt;script src="./js/jquery.autocomplete.js" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt;
       &lt;script type="text/javascript"&gt;
       $(document).ready(function() {
             $("a").click(function() {
  
              alert('1');
              $("#producto").setOptions({max: 2}); 
  
              alert('2');
             });
   });
       &lt;/script&gt;
  
  &lt;/head&gt;
  &lt;body &gt;
  
      &lt;a href=""&gt;Link&lt;/a&gt;
  
  
       &lt;input id="producto" name="producto" value="hola" /&gt;
  &lt;/body&gt;&lt;/html&gt;
  </code></pre>
  
  <p>It always give the same error that the object doesnt accept the method 'setOptions'.</p>
  
  <p>What Im doint wrong !!?? any suggestion?</p>