Return to Snippet

Revision: 14603
at June 7, 2009 16:02 by abwaters


Initial Code
<script type="text/javascript">
var params = new Object();
window.location.search.replace(
	new RegExp( "([^?=&]+)(=([^&]*))?", "g" ),
	function( $0, $1, $2, $3 ){
		params[ $1 ] = $3;
	}
	);
</script>

Initial URL

                                

Initial Description

                                

Initial Title
Query String Parsing in Javascript

Initial Tags

                                

Initial Language
JavaScript