Building query strings with javascript

I am wondering if it is possible to build a query string like:


I want to use the below in the browser’s address bar:


I don’t want to use the “=” (model=book) and “&” (model=book&model=cds) signs, but I need pair values (model:book) and the “+” sign (model:book+model:cds).

Thank you in advance,

Yes you can. JavaScript won’t care. You can simply perform window.location.href = ‘build your url here with the query string’;