Unable to run the auto complete code
<p>I copied this below code from the <a href="http://api.jqueryui.com/autocomplete/#example-1" rel="nofollow">Jquery</a>. when I try to run this code on my system nothing is performing, Do I have to change anything in the scripts in header tag? </p>

<p>Below is the code which I copied: </p>

<pre><code>&lt;!doctype html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
  &lt;meta charset="utf-8"&gt;
  &lt;title&gt;autocomplete demo&lt;/title&gt;
  &lt;link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"&gt;
  &lt;script src="//code.jquery.com/jquery-1.10.2.js"&gt;&lt;/script&gt;
  &lt;script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt; 
&lt;label for="autocomplete"&gt;Select a programming language: &lt;/label&gt;
&lt;input id="autocomplete"&gt; 
&lt;script&gt;
var tags = [ "c++", "java", "php", "coldfusion", "javascript", "asp", "ruby" ];
$( "#autocomplete" ).autocomplete({
  source: function( request, response ) {
          var matcher = new RegExp( "^" + $.ui.autocomplete.escapeRegex( request.term ), "i" );
          response( $.grep( tags, function( item ){
              return matcher.test( item );
          }) );
      }
});
&lt;/script&gt; 
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>I new to Jquery, I am unaware of inheriting the script file in the header, can you also explain how to do it?</p>

<p>Thank you. </p>