How to remember the currently clicked url? javascript?PHP?
<p>I have a html select list menu,when user select an option he/she is redirected to the page of choice.
 for example he/she will be redirected to
     <a href="http://example.com/towns/Faizabad" rel="nofollow">http://example.com/towns/Faizabad</a>
   below is the selection menu,this acts as a jump menu.</p>

<pre><code>  &lt;select name="cities"&gt;
  &lt;option value="towns/Antaliya" id="city1"&gt;Antaliya&lt;/option&gt;
  &lt;option value="towns/Faizabad" id="city2"&gt;Faizabad&lt;/option&gt;
  &lt;/select&gt;
</code></pre>

<p>I need when user(logged/anonymous) selects a city... to add attributed selected, and remember the option for several days until user changes again to another option.
I am not good with Javascript/jquery.. i think it can be achived with cookies.
  Any help will be appreciated.</p>
