title: How to convert object array to url string?
body: <p>I am trying to generate javascript object array to urlstring like: </p>
  
  <pre><code>var array = [{'name': 'foo', 'value': '2'},
               {'name': 'foo', 'value': '2,8'},
               {'name': 'foo', 'value': '2,10,3'}
              ];
  
  // url ==&gt; foo=2&amp;foo=2,8&amp;foo=2,10,3
  </code></pre>