Skip to content

ransilad/get-query-string-values-in-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Get query string values in JavaScript

Usage:

.../?code=u4x075v5yhczy940hopf6rih0a6u6wkvm6qtg2sc5gaytm0stpqw2ca7r45ltsjqoku3i4ox3qfhqze6y437m040bh

and the output will be:

The code is:
u4x075v5yhczy940hopf6rih0a6u6wkvm6qtg2sc5gaytm0stpqw2ca7r45ltsjqoku3i4ox3qfhqze6y437m040bh

Note: If a parameter is present several times (?code=lorem&code=ipsum), you will get the first value (lorem)

About

Get query string values in JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages