Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js get url parameter

const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const code = urlParams.get('code')
Source by github.com #
 
PREVIOUS NEXT
Tagged: #js #url #parameter
ADD COMMENT
Topic
Name
7+2 =