DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+3 =
Submit