Answers for "javascript get filename from path"

3

get filename from url js

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

how to name a file path in document.geteleementbyid

document.getElementById("retreiveData").innerHTML = "<p>Message</p> <a href=message>" + key + "</a> <p>ok?</p>"
Posted by: Guest on April-25-2020

Code answers related to "javascript get filename from path"

Code answers related to "Javascript"

Browse Popular Code Answers by Language