Just published a plugin that extends jquery to give access to querystring params easily. For the longest time, I was just copy/pasting one function into all my projects to do this, but finally decided to make it a jquery plugin for future use. Here’s how to use it:
$.querystring(param_name_here);
example:
var q = $.querystring('q');
Ezmode. get the code here: https://github.com/gehsekky/jquery-querystring