Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get filenem js

var url = window.location.pathname;
var filename = url.substring(url.lastIndexOf('/')+1);
alert(filename);
Source by befused.com #
 
PREVIOUS NEXT
Tagged: #filenem #js
ADD COMMENT
Topic
Name
3+6 =