title: jquery autocomplete doesn't work on localhost
body: <p>I hope you can help me.</p>
  
  <p>I have used on a localhost aspx page the following code so it autocompletes.</p>
  
  <p>It works perfect.</p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
                      "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
    &lt;script src="http://code.jquery.com/jquery-latest.js"&gt;&lt;/script&gt;
    &lt;link rel="stylesheet" href="http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/main.css" type="text/css" /&gt;
    &lt;link rel="stylesheet" href="http://dev.jquery.com/view/trunk/plugins/autocomplete/jquery.autocomplete.css" type="text/css" /&gt;
    &lt;script type="text/javascript" src="http://dev.jquery.com/view/trunk/plugins/autocomplete/lib/jquery.bgiframe.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="http://dev.jquery.com/view/trunk/plugins/autocomplete/lib/jquery.dimensions.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" src="http://dev.jquery.com/view/trunk/plugins/autocomplete/jquery.autocomplete.js"&gt;&lt;/script&gt;
    &lt;script&gt;
    $(document).ready(function(){
      var data = "Core Selectors Attributes Traversing Manipulation CSS Events Effects Ajax Utilities".split(" ");
  $("#example").autocomplete(data);
    });
    &lt;/script&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
    API Reference: &lt;input id="example" /&gt; (try "C" or "E")
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>*However, when I download the scripts etc and run it in my local server (see code below), it doesn't work and it doesn't give me any errors
  The page does take approx 10 seconds to load (instead of &lt;1 second)</p>
  
  <p>The autocomplete function doesn't work on the page, but everything else does.</p>
  
  <p>Can anyone tell me what I am doing wrong ? Is there something I have to additional turn on locally or download ?</p>
  
  <p>I am quite new at this so thanks for your pacience.</p>
  
  <p>Also, I would like the data to come from a file, instead of the variable data.</p>
  
  <p>I have downloaded  the file called "jquery-1.3.2.min.js" as well and put it in the same directory as the other scripts...</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;%@ Page Language="C#"  %&gt;
  &lt;html dir="ltr" xmlns="http://www.w3.org/1999/xhtml"&gt;
  
  &lt;head runat="server"&gt;
  &lt;meta content="es" http-equiv="Content-Language" /&gt;
  &lt;meta content="text/html; charset=utf-8" http-equiv="Content-Type" /&gt;
  &lt;title&gt;Search POL-POD&lt;/title&gt;
      &lt;style type="text/css"&gt;
          .tahoma_small {
              font-family: Tahoma;
              font-size: x-small;
          }
      &lt;/style&gt;
           &lt;script src="../autocomplete/jquery-latest.js"&gt;&lt;/script&gt;
            &lt;link rel="stylesheet" href="../autocomplete/jquery.autocomplete.css" type="text/css" /&gt;
            &lt;script type="text/javascript" src="../autocomplete/jquery.autocomplete.js"&gt;&lt;/script&gt;
            &lt;script&gt;
                $(document).ready(function() {
                    var data = "Core Selectors Attributes Traversing Manipulation CSS Events Effects Ajax Utilities".split(" ");
                    $("#txtfirst").autocomplete(data);
                    $("#txtsecond").autocomplete(data);
                });
            &lt;/script&gt;
  
  
  
      &lt;/head&gt;
  
  
  
      &lt;body&gt;
  
      &lt;form id="form1" runat="server" enableviewstate="False" autocomplete="True"&gt;
          POL
          &lt;asp:TextBox id="txtfirst" runat="server"&gt;&lt;/asp:TextBox&gt;
      &amp;nbsp; POD&amp;nbsp;
          &lt;asp:TextBox id="txtsecond" runat="server"&gt;&lt;/asp:TextBox&gt;
      &amp;nbsp;
          &lt;asp:Button id="Button1" runat="server" Text="Button" /&gt;
          &lt;br /&gt;
  
  ....etc 
  </code></pre>