javascript get token from query string
const queryString = window.location.search;
console.log(queryString);
// ?product=shirt&color=blue&newuser&size=m
javascript get token from query string
const queryString = window.location.search;
console.log(queryString);
// ?product=shirt&color=blue&newuser&size=m
javascript get token from query string
const urlParams = new URLSearchParams(queryString);
javascript get token from query string
const product = urlParams.get('product')
console.log(product);
// shirt
const color = urlParams.get('color')
console.log(color);
// blue
const newUser = urlParams.get('newuser')
console.log(newUser);
// empty string
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us