title: Autocomplete is not working as expected
body: <p>I am getting <code>autocomplete is not a function</code>  while executing my jsp page.</p>
  
  <p>Perhaps it is something simple I have overlooked</p>
  
  <pre><code>'$('selector').autocomplete({source:myarray});'
  </code></pre>
  
  <p>Script tags</p>
  
  <pre><code>'&lt;script type="text/javascript" src="js/plugins/jquery-1.7.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"
      src="js/plugins/jquery-ui-1.8.16.custom.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="js/plugins/jquery.validate.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="js/plugins/jquery.colorbox-min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="js/custom/general.js"&gt;&lt;/script&gt;'
  </code></pre>