Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

jake-nz/query.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Requires jQuery.

> test = new query("this=that&fish=awesome");
> test.toString()
"this=that&fish=awesome"

> test.remove("this");
> test.toString()
"fish=awesome"

> test.set("set", true);
> test.toString()
"fish=awesome&set=true"

> test.pop("set")
true
> test.toString()
"fish=awesome"

> test.get("fish")
"awesome"

> test.get("naa")
undefined

> test.get("naa", 'default')
"default"

About

js query string manipulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published