title: Quickstart Jquery plugin shows error on website?
body: <p>I use joomla 3.6 and i installed some plugins, but i'm struggling with this one jquery plugin. In the console it shows me this error </p>
  
  <p><code>TypeError: $(...).ready is not a function: Anonymous</code></p>
  
  <p><a href="https://i.stack.imgur.com/6Tr9f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Tr9f.png" alt="Console error image"></a></p>
  
  <p>For the jquery version you need 1.6.1 and for the jquery-UI 1.8.14. But i tested it with the default joomla jquery versions: 1.11.2 and the jquery-UI 1.9.2 on a clear website and it works. So there is no problem with the jquery version.</p>
  
  <pre><code>// Use the .autocomplete() method to compile the list based on input from user
  $('#itemCode').autocomplete({
      source: '/db/item-data.php',
      minLength: 1,
      select: function(event, ui) {
  </code></pre>
  
  <p>I already added the needed scripts in the head.php in joomla templates.</p>