Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get url parameters javascript

const url = new URL(window.location.href);
const parameterValue = url.searchParams.get('pramaName');
console.log(parameterValue);
Source by github.com #
 
PREVIOUS NEXT
Tagged: #url #parameters #javascript
ADD COMMENT
Topic
Name
7+3 =