Location object
Contains info about the URL
Part of the window object, also accessible by document object
Can access in dev tools by typing location
Items in location
- search. : that is the query string
- pathname
- origin
- href
- port
See MDN for more
Examples: access seatch use window.location.search
See stevenbenner jQuery deparam for deconstruction of params or go here
Example deparam after loading function
JQuery.deparam(window.location.search)