Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get query param javascript

const urlParams = new URLSearchParams(window.location.search);
const myParam = urlParams.get('myParam');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #query #param #javascript
ADD COMMENT
Topic
Name
3+4 =