Top "Query-string" questions

The part of a URL after the ? (question mark), containing parameter=value pairs separated by & (ampersand).

How can I get query string values in JavaScript?

Is there a plugin-less way of retrieving query string values via jQuery (or without)? If so, how? If not, is …

javascript url plugins query-string
How to get URL parameter using jQuery or plain JavaScript?

I have seen lots of jQuery examples where parameter size and name are unknown. My URL is only going to …

jquery url parameters query-string querystringparameter
How to get GET (query string) variables in Express.js on Node.js?

Can we get the variables in the query string in Node.js just like we get them in $_GET in …

node.js query-string express
Get URL query string parameters

What is the "less code needed" way to get parameters from a URL query string which is formatted like the …

php url query-string
Get querystring from URL using jQuery

I have the following URL: http://www.mysite.co.uk/?location=mylocation1 I need to get the value of location …

javascript jquery query-string
Elasticsearch query to return all records

I have a small database in Elasticsearch and for testing purposes would like to pull all records back. I am …

database elasticsearch query-string elasticsearch-dsl
Adding a parameter to the URL with JavaScript

In a web application that makes use of AJAX calls, I need to submit a request but add a parameter …

javascript url parsing parameters query-string
How to pass an array within a query string?

Is there a standard way of passing an array through a query string? To be clear, I have a query …

php arrays query-string querystringparameter
How to access the GET parameters after "?" in Express?

I know how to get the params for queries like this: app.get('/sample/:id', routes.sample); In this …

node.js express query-string
When are you supposed to use escape instead of encodeURI / encodeURIComponent?

When encoding a query string to be sent to a web server - when do you use escape() and when …

javascript encoding query-string