title: Search suggestion cache javascript
body: <p>I am having a Search text-box for which I have to implement a search suggestion(like google search) kind of feature. </p>
  
  <p>for example, if I type "abc" in the search box, I will get suggestions like<br>
      <strong>abc</strong><em>def</em><br>
      <em>xyz</em><strong>abc</strong><em>xyz</em>  </p>
  
  <p>here each of these unique suggestion represents a jsp page whose url can be "hard-coded" in a java-script array. so when I click any suggested value, the webpage at the corresponding link is displayed.  </p>
  
  <p>For this, can you suggest me any efficient methods of implementing this.<br>
  <em>This must be in pure javascript, no third-party libs like jquery,etc., can be used</em></p>
  
  <p>Thanks in advance.</p>