is there a way to exclude certain chars from encodeURIComponent
<p>i am building a query string for my url and need to exclude certain chars from the encode.</p>

<p>I want to exclude the "&amp;" and the "=" so that I can make a statement as such:</p>

<p>first=blah&amp;second=blah and so on....</p>

<p>I guess the best way to put it is how do I stop them from being encoded?</p>

<p>some code:</p>

<pre><code> else if (array[i].nodeName == "SELECT") {
   if (array[i].id == "multiple") {
     var selected = $.map($('#multiple option:selected'),

     function (e) {
       return $(e).val();
     });
     $.each(selected, function (index, value) {
       name = array[i].name;
       values += app + "\&amp;" + key + "=";
     });

   } else {
     name = arr[i].name;
     values = arr[i].value;
   }
 }

 key = encodeURIComponent(name);
 value = encodeURIComponent(values);
 queryString += name + "=" + values + "&amp;";
</code></pre>
