How do I turn a javascript dictionary into an encoded url string?
<p>I'd like to get something like</p>

<pre><code>?key=value?key=value
</code></pre>

<p>out of a js dictionary that is </p>

<pre><code>{
    key:value,
    key:value
}
</code></pre>
