Answers for "how to pass parameter in url in javascript and get it"

9

js get url parameter

const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const code = urlParams.get('code')
Posted by: Guest on October-18-2020

Code answers related to "how to pass parameter in url in javascript and get it"

Code answers related to "Javascript"

Browse Popular Code Answers by Language