Methods and practices of making an URL hash
<p>My application uses ajax and refreshes some parts of a template.
Now I need to make an URL hash containing some variables that will be used for refreshing a page after a page is loaded that contains a hash.</p>

<p>Now I need a javascript procedure for making a hash. </p>

<ol>
<li><p>How to serialize variables?</p></li>
<li><p>How to encode that serialized string?</p></li>
</ol>

<p>I'm using jquery, maybe there is a solution already?</p>
