title: Ajax, javascript send variable to another page, on click
body: <p>Lests say I have a basic loop:</p>
  
  <pre><code>&lt;? $count = 0; 
  
  while ( $count &lt; 20 ):      
  $count++; ?&gt;
  
  **$page = 'unique value which changes every time it counts, it loops';**
  
  &lt;a href="http://www.mysite.com/page.php"&gt;Link&lt;? echo $count; ?&gt;&lt;/a&gt;
  
  &lt;? endwhile; ?&gt;
  </code></pre>
  
  <p>I need a ajax/javascript code (does not matter really) for when <strong>I click</strong> lets say link nr 16 (displayed from the while loop) it sends me the $page variable with the content for link nr. 16. Not really sure how to make myself understood :( 
  Sorry if my q sounds unclear.</p>
  
  <p><strong>Please, no php methonds, not get or session variables</strong></p>