Answers for "variable get in url"

5

get actual url in variable

var currentLocation = window.location;
Posted by: Guest on March-10-2020
-1

js get url variables

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language