Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get filename from url

var filename = url.split('/').pop();
 
PREVIOUS NEXT
Tagged: #javascript #filename #url
ADD COMMENT
Topic
Name
2+1 =