The Full Working Code – Download Free!

Download the whole package to try it on your pc, click here to download!
I have included two versions, one using jQuery and the other with only javascript. Have fun! 😉

Possible Improvements For The jQuery Approach

Adding chaining ability as jQuery offers.

Making it OOP

Modifying it to extend or offer methods to make it more flexible with added functionality

Simple Is Effective!

Being a KISS fan, I would say that my function is simple, yet effective since it does exactly what it is meant for; just retrieving query string using javascript and/or jQuery!What about your approach? Feel free to make your suggestions and report any bugs found.