Answers for "get url filename javascript"

8

javascript get url path

window.location.pathname
Posted by: Guest on June-06-2020
3

get filename from url js

var filename = location.pathname.substr(location.pathname.lastIndexOf("/")+1);
Posted by: Guest on October-29-2020

Code answers related to "get url filename javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language