Get URL request parameter with jQuery (Javascript)

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

Here is an example of how to get URL request parameters in Javascript (Jquery)

http://www.leonli.co.uk?search=parameters
        function getURLParameter(name) {
            return decodeURI(
                    (RegExp(name + '=' + '(.+?)(&|$)').exec(location.search)||[,null])[1]
            );
        }
 var parameter=url.getURLParameter("search"); 

Read More