Ajax, jquery veya javascript kullanarak başka bir sayfaya değişken [yinelenen]

0 Cevap php

Possible Duplicate:
Ajax, javascript send variable to another page, on click

Hello, Lets say i have 3 divs:

<div id="section1">
<? $var='value1'; ?>
<a href="mysite.com/page1">page1</a>
</div>

<div id="section2">
<? $var='value2'; ?>
<a href="mysite.com/page2">page2</a>
</div>

<div id="section3">
<? $var='value3'; ?>
<a href="mysite.com/page1">page3</a>
</div>

Using jquery, javascript, ajax and not php (get, session variable) can i do this? If i click on the link to page1 send $var='value1' to page1 If i click on the link to page2 send $var='value2' to page2 If i click on the link to page3 send $var='value3' to page3

Teşekkür ederiz!

0 Cevap