How to add link to an auto complete search box using jQuery?

How to add link to an auto complete search box using jQuery?

Can some one please guide me with regard to this.
I have failed to come up with a way to "bind" an item's name (which pops out on clicking it's initials in the search area) to it's respective link.
So, that after selecting it from the auto complete pop out and clicking on search ,  we are directed to the page with the particular item.

I intend to use jQuery Ui's Autocomplete.@  http://jqueryui.com/autocomplete/

And it has all the listed items in an Array. Is it possible to assign specific web links to each item in the array within the array itself? 

<script>
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 );
          }) );
      }
});
</script>

Please Help.