DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
get current file name javascript
var path = window. location. pathname; var page = path. split("/"). pop(); console. log( page );
Source by www.fiverr.com #
PREVIOUS
NEXT
Tagged:
#current
#file
#javascript
ADD COMMENT
Topic
COMMENT
Name
1+9 =
Submit