I have a page with a search form (with just one field) submitting to another page to perform a search and show results.

Often on other sites whenever I search for something in a form I see my search terms in a query string which is handy for bookmarking/sharing a link with someone.

eg-

```
 http://grooveshark.com/#/search?q=name+of+band

```

How is the query string made from a form submission?