Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get token from query string

const queryString = window.location.search;
console.log(queryString);
// ?product=shirt&color=blue&newuser&size=m
Source by www.sitepoint.com #
 
PREVIOUS NEXT
Tagged: #javascript #token #query #string
ADD COMMENT
Topic
Name
7+2 =