Haddok
09-19-2002, 06:17 PM
Probably an easy one....
I have one input type 'file' [a] in which I receive the file-path & filename.
In another input type 'text' [b] I want the filename only.
Example:
[c:\misc\documents\test.doc] -> [test.doc]
the transfer of values is managed with an 'onChange'.
How do I get rid of the 'c:\misc\documents\' with a script???
I have one input type 'file' [a] in which I receive the file-path & filename.
In another input type 'text' [b] I want the filename only.
Example:
[c:\misc\documents\test.doc] -> [test.doc]
the transfer of values is managed with an 'onChange'.
How do I get rid of the 'c:\misc\documents\' with a script???