did javascript or jquery has method as Server.UrlEncode() in asp.net
<p>did javascript or jquery has method as Server.UrlEncode() in asp.net</p>

<p>eg:when using    </p>

<pre><code>  $.get("a.aspx?pk=1&amp;k="+kvale, function(data) {
            dosth(data);
            });
</code></pre>

<p>url must encode   </p>
