javascript get filename from url
var filename = url.split('/').pop();
javascript get filename from url
var filename = url.split('/').pop();
get filename from url js
var filename = location.pathname.substr(location.pathname.lastIndexOf("/")+1);
get current file name javascript
var path = window. location. pathname;
var page = path. split("/"). pop();
console. log( page );
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us