How to pass a variable ( a numerical ID) from a page to another through click
<p>I have auto generated content, and auto generated buttons. The buttons have the same link, only the variable differs. How can i pass the variable on the button click to another page ( from the button onclick link).</p>

<p>After I generate the button, i give it a function, something like: </p>

<pre><code>$('.Button').click(function() { window.location ='page.html'; }); 
</code></pre>
