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

alibaba-archive/UrlParams

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Params

jQuery function for parsing URL parameters

License:

MIT-License: http://www.opensource.org/licenses/mit-license.php

USAGE:

$.urlParams("get", "param_name") // => returns unescaped string of the parameter "param_name"
$.urlParams("keys") // => returns an array of all parameter keys
$.urlParams("exists", "param_name") // => returns true if "param_name" exists; false otherwise
$.urlParams("all") // => returns a hash with all key, value pairs