hi everyone !
could someone please help me to get the filename from the path ?
var filename = this.substring(this.lastIndexOf("/") + 1, this.lastIndexOf("."));
max is returning an error about not existing function .
perhaps regular expression would help ,but im also getting errors .and additionaly i would like to get rid of extension string too .
would be great if some of you have a clue what to do in my case .