title: Getting correct cookie value
body: <p>I am setting a cookie value via click event:</p>
  
  <pre><code>    $("#myModal .modal-body a").click(function() {
          document.cookie = 'town='+$(this).text()+'; path=/';
      });
  </code></pre>
  
  <p>Everything works just fine, but when trying to display this value in html element on the other day (if its necessary):</p>
  
  <pre><code>&lt;div&gt;
      &lt;?=$_COOKIE['town']?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>In the browser I get something like <code>#A=0G</code> in this div. Firebug shows this value <code>#A=0G</code>, but the raw data is correct <code>town</code>.
  What am I doing wrong?</p>