The jQuery uriget plugin provides a basic function which gets the Query String values from an URL using a little bit of jQuery magic.