title: How to push Array values to input box?
body: <p>Hi who can push the values here into the input box instead o the alert box?? Please keep the uniqueness and output the whole list.</p>
  
  <pre><code>Names:&lt;input id='names'/&gt;
  
  var data = [{"name":"Lenovo Thinkpad 41A4298","website":"google"},
  {"name":"Lenovo Thinkpad 41A2222","website":"google"},
  {"name":"Lenovo Thinkpad 41Awww33","website":"yahoo"},
  {"name":"Lenovo Thinkpad 41A424448","website":"google"},
  {"name":"Lenovo Thinkpad 41A429rr8","website":"ebay"},
  {"name":"Lenovo Thinkpad 41A429ff8","website":"ebay"},
  {"name":"Lenovo Thinkpad 41A429ss8","website":"rediff"},
  {"name":"Lenovo Thinkpad 41A429sg8","website":"yahoo"}];
  
  var uniqueNames = [];
  for(i = 0; i&lt; data.length; i++){    
      if(uniqueNames.indexOf(data[i].website) === -1){
          uniqueNames.push(data[i].website);        
      }        
  }
  
  for(i = 0; i&lt; uniqueNames.length; i++){    
     alert(uniqueNames[i]);    
  }
  </code></pre>
  
  <p>Please help as no one online has done it!!</p>