title: Jquery not working / Loading
body: <p>sorry to post what i'm sure is a simple questin but I am trying to get data from a database and then based on a simple searh fill in a form. On my quest for this I found this example. <a href="http://jsfiddle.net/X85LT/" rel="nofollow noreferrer">JSFiddle</a>.</p>
  
  <p>This seems to be more or less what I want if I expand to my database size. But for the life of me I cannot even get that script working before I have tried adapting it! I always have trouble with getting javascript and Jquery to work so thoigh I woul dask incase its something stupid i'm doing.</p>
  
  <p>So I have placed jquery 1.7.2 and 1.8.16 UI in within my headlike so</p>
  
  <pre><code>&lt;script src="http://code.jquery.com/jquery-1.7.2.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"&gt;&lt;/script&gt;
  &lt;link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.21/themes/black-tie/jquery-ui.css" type="text/css" media="screen" /&gt;
  </code></pre>
  
  <p>and then placed this code in my body </p>
  
  <pre><code>  &lt;script&gt;
      var src = [{
          "label": "Jack",
              "value": "1"
      }, {
          "label": "back",
              "value": "2"
      }, {
          "label": "tera",
              "value": "3"
      }, {
          "label": "judo",
              "value": "4"
      }];
       $('.name').change(function() {
       $('.value').val(0);
      });
  
      $(".name").autocomplete({
          source: src,
          select: function (event, ui) {
              event.preventDefault();
              this.value = ui.item.label;
              $('.value').val(ui.item.value);
          }
      });
    &lt;/script&gt;
    &lt;input type="text" class="name" /&gt;
    &lt;input type="text" class="value" /&gt;
  </code></pre>
  
  <p>Thats it! Exactly the same as the JSfiddel example and yet it does not work. Any ideas?</p>
  
  <p>Like I said, I seem to always have issue with javascript and Jquery codes and would bery much like to get to the bottom of what I do wrong.</p>
  
  <p>Any help appreciated.</p>
  
  <p>Ian</p>