How do u get the file name from a particular path using Javascript?
rupinder
Apr 16th, 2013
"javascript function getFileName() {
//this gets the full url
var url = document.location.href;
//this removes the anchor at the end, if there is one
url = url.substring(0, (url.in...