Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check the doc name in javascript

var path = window.location.pathname;
var page = path.split("/").pop();
console.log( page );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #doc #javascript
ADD COMMENT
Topic
Name
7+3 =