title: How to open a url in div?
body: <p>I have a search text field with autocomplete. The autocomplete suggestions are the link and on hover it gets redirect to webpage. I was looking if there is a way to open url on same page in div below search text field(or any other way to open url on same page). 
  Here is the js code</p>
  
  <pre><code>$("#search").autocomplete({
              source: [
                  { value: "Imdb", url: 'http://www.imdb.com' },
                  { value: "Macys", url: 'http://www.macys.com' },
                  { value: "Verisign", url: 'http://www.verisign.com' },
                  { value: "Chitown", url: 'http://www.chitown.com' },
                  { value: "DC", url: 'http://www.washingtondc.com' },
                  { value: "SF", url: 'http://www.sanfran.com' },
                  { value: "Peru", url: 'http://www.peru.com' }
              ],
             // source: '/brands',
              focus: function (event, ui) {
                  window.location = ui.item.url;
              }
  </code></pre>
  
  <p>Thanks for help</p>