Return to Snippet

Revision: 46961
at May 28, 2011 00:27 by nickaranz


Initial Code
function getQSP()
	{
		var qs = location.search.substring(1, location.search.length);
		var args = qs.split("&");	
		var vals= [];
		for (var i=0; i < args.length; i++) 
		{
			var nameVal = args[i].split("=");
			var temp = unescape(nameVal[1]).split('+');
			nameVal[1] = temp.join(' ');
			vals[nameVal[0]] = nameVal[1];
		}
		return vals;
	}

Initial URL

                                

Initial Description

                                

Initial Title
Getting Query String Parameters from URL

Initial Tags
forms, Development, sharepoint

Initial Language
JavaScript