mskhan: Also, can you tell me if this would work to grab the filename without the extension?
- for (var i = 0; i < files.length; i++) {
- var name = files[i].FileName;
- var extension = System.IO.Path.GetfileNameWithoutExtension(file[i].FileName);
- var extensionless = name.substring(0, name.Length - extension.Length);
- alert(extensionless);
-
- }
Hasn't worked me.
same issue here, I've tried this one but it works here in my end.. maybe you got mistake to some things.
regards,
faxxx