non direttamente, devi manipolare un minimo la stringa risultante
codice:var path=location.pathname; var fileName=path.substr(path.lastIndexOf('/')+1);
non direttamente, devi manipolare un minimo la stringa risultante
codice:var path=location.pathname; var fileName=path.substr(path.lastIndexOf('/')+1);