Answers for "get filenem js"

0

get filenem js

var url = window.location.pathname;
var filename = url.substring(url.lastIndexOf('/')+1);
alert(filename);
Posted by: Guest on August-14-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language