Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js get location params

Object.fromEntries(location.search.substr(1).split("&").map(pair => pair.split("=")))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #location #params
ADD COMMENT
Topic
Name
7+7 =