title: clickable results from jquery autocomplete
body: <p>I am experiencing problems to make the results from jQuery <code>Autocomplete</code> clickable. First this is what I have in the php file:</p>
  
  <pre><code>$q = strtolower($_GET["term"]);    
  $return = array();    
  $query = mysql_query("SELECT id,title,unique_name,product FROM products WHERE product LIKE '%$q%' AND active='1' LIMIT 11") or die(mysql_error());    
  while ($row = mysql_fetch_array($query)) {    
      array_push($return,    
  array('label'=&gt;$row['product'],    
  'value'=&gt;'./shop/index.php?product="'.$row['unique_name'].'"&gt;'.$row['product']));    
  }    
  echo(json_encode($return));    
  </code></pre>
  
  <p>Do I need to add into the array url as parameter? </p>
  
  <p>Is this correct I've done by passing url as value into the array?</p>
  
  <p>This is my <a href="http://jsfiddle.net/Lszkb/4/" rel="nofollow">http://jsfiddle.net/Lszkb/4/</a> containing the rest of js and html.. Please help me 
  to sort out this problem. I found many questions on this issue but none gave me the answer. And something else - window.location doesnt work at all.. 
  Thank you guys for any help and suggestions</p>