Sometime we need to append query string to the current url for filtering or searching specific data. we can convert an object or array into query string using following code
[code]
var aQueryString = Object.keys(aParams).map(function(aKey)
{
return aKey+ ‘=’ + aParams[aKey]
}).join(‘&’);
[/code]
In above code aParams is your object
