ventura
02-25-2003, 12:05 AM
how do i grab just the file name from a file upload field?
Graeme Hackston
02-25-2003, 02:28 AM
function File_Name_Only(str) {
file_name = str.substring(str.lastIndexOf('/')+1,str.length)
return file_name
return null
}
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.