JQuery to help page act like a form
<p>I'm trying to do something similar to <a href="http://www.wanderfly.com" rel="nofollow">www.wanderfly.com</a> .
Basically the end goal is to have the divs in my page act like a checkbox, so at the end
when a submit button is clicked the user will be transferred to something like:</p>

<p><strong>mysite.co.uk/City=1|4|5|9</strong>  </p>

<p>So in this example the user clicked on divs number 1,4,5 &amp; 9. if he would have clicked div
4 again then he would've been passed to:</p>

<p><strong>mysite.co.uk/City=1|5|9</strong>  </p>

<p>I hope i'm clear, please help me with a right direction on how to handle this and if JQuery has 
already a library for something of this sort.</p>
