Answers for "how to check page name in js"

2

how to get ram detail in linux

sudo dmidecode --type 17
Posted by: Guest on October-13-2020
37

javascript get current url

var currentUrl = window.location.href;
Posted by: Guest on July-22-2019
2

check the doc name in javascript

var path = window.location.pathname;
var page = path.split("/").pop();
console.log( page );
Posted by: Guest on May-31-2020

Code answers related to "how to check page name in js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language