Skip to content

Quick function that parses a query string and returns it as an object.

Notifications You must be signed in to change notification settings

julesbravo/js-querystring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

This is a simple string prototype method that parses out key/value pairs from urls.

I use this to pass arguments to a javascript file through the src attribute in the script tag.

Example:
	$('#script_tag').attr('src').querystring();

See test.html for more information.

About

Quick function that parses a query string and returns it as an object.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published