Revision: 32651
Updated Code
at October 1, 2010 04:35 by gabrielsmith
Updated Code
function getUrlVars()
{
var vars = [], hash;
var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
for(var i = 0; i < hashes.length; i++)
{
hash = hashes[i].split('=');
vars.push(hash[0]);
vars[hash[0]] = hash[1];
}
return vars;
}
Revision: 32650
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 1, 2010 04:35 by gabrielsmith
Initial Code
http://jquery-howto.blogspot.com/2009/09/get-url-parameters-values-with-jquery.html
Initial URL
Initial Description
http://jquery-howto.blogspot.com/2009/09/get-url-parameters-values-with-jquery.html
Initial Title
jquery GET params
Initial Tags
Initial Language
JavaScript