Assemble a URL with jQuery
<p>I have a base url,</p>

<pre><code>var url = "/example/url/here"
</code></pre>

<p>and an object</p>

<pre><code>var data = {"id": 1, "do": "some action"}
</code></pre>

<p>and I want to assemble a url with these to items in a similar fashion to how the $.get works, only I just want the url. Any ideas or do I have to loop through the object and assemble the url myself? </p>
