Most of the time, you will use PHP to grab query string components off of your URI using $_GET, but there may be times where PHP is not available and you need to use a client side language to do so. If you need to grab components from a query string without PHP, use this Javascript function:

Then, call it like so:

And you now have access to the query string components in an array like syntax: