Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js get all query string

const urlSearchParams = new URLSearchParams(window.location.search);
const params = Object.fromEntries(urlSearchParams.entries());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #query #string
ADD COMMENT
Topic
Name
3+3 =