use onclick to create session variable with jquery or javascript?
<p>Is it possible onclick to create session variable with javascript or jquery then use this variable with php ?</p>

<p>For example someone click link at the bottom</p>

<pre><code>&lt;div id="list"&gt;&lt;a onclick = "" href="javascript:void(0);"&gt;+&lt;/a&gt;&lt;/div&gt;
</code></pre>

<p>there will be created variable like number=1;</p>

<p>then I should call it in php like : </p>

<pre><code>&lt;?php $_SESSION["number"]; ?&gt;
</code></pre>
