title: jQuery "autocomplete is not a function"
body: <p>I've seen a few different questions on this but I can't seem to find a solution that would fit mine.  I'm using the following code (using the UWA widget framework) and I always receive the message "autocomplete is not a function".  I am calling the autocomplete.js file so I'm not sure why I still get this message.</p>
  
  <pre><code>    &lt;html&gt;
      &lt;title&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;
         &lt;![CDATA[
        widget.onLoad = function(){
        var data = "apple pears bears bananas".split(" ");
      $("#search").autocomplete(data);
    };
    ]]&gt;
    &lt;/script&gt;
  
  &lt;/head&gt;
     &lt;body&gt;
       My name: &lt;input id="search" /&gt;
     &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>