From a path like I want to extract just “thisfolder” & write it to the page, window title bar, or whatever.
Making it clickable would be nice too.
Any suggestions?
Making it clickable would be nice too.
Any suggestions?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<script>
var loc = location.href;
var arrloc = loc.split("/");
folder = arrloc[arrloc.length-2];
alert(folder);
</script>