Answers for "getting get var out of a url string js"

-1

js get url variables

const postID = (new URLSearchParams(window.location.search)).get('post');
Posted by: Guest on February-11-2021
0

set get variable in url

examplepage.php?var1=value&var2=value
Posted by: Guest on October-29-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language