Does anyone have a JS script that will
determine the length of file name for a
file upload process?
This is only for the document name, not
the complete path and filename, so
document.forms[0].fileupload.value will
not work.
just trying to find a script to determine the
length of file
much appreciated!!
_
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 8:45 AM
To: CF-Talk
Subject: Re: file upload validation
Does anyone have a JS script that will
determine the length of file name for a
file upload process?
This is only for the document
welcome. :)
much appreciated!!
_
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 8:45 AM
To: CF-Talk
Subject: Re: file upload validation
Does anyone have a JS script that will
determine the length of file name for a
file upload process?
This is only
I don't have one handy, but you should be able to split the .value
using \ or / as delimiters (depending on OS - I'd test to see
which exists first) , and take the last value in the resultant array.
-joe
- Original Message -
From: Coldfusion [EMAIL PROTECTED]
Date: Mon, 12 Jul 2004
Does anyone have a JS script that will
determine the length of file name for a
file upload process?
This is only for the document name, not
the complete path and filename, so
document.forms[0].fileupload.value will
not work.
just trying to find a script to determine the
length of file
much appreciated!!
_
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 8:45 AM
To: CF-Talk
Subject: Re: file upload validation
Does anyone have a JS script that will
determine the length of file name for a
file upload process?
This is only for the document
welcome. :)
much appreciated!!
_
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 8:45 AM
To: CF-Talk
Subject: Re: file upload validation
Does anyone have a JS script that will
determine the length of file name for a
file upload process?
This is only
7 matches
Mail list logo