Just tokenize on the "/" and take the last element

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Beverly Voth
Sent: Friday, September 27, 2002 2:58 PM
To: Multiple recipients of list witango-talk
Subject: RE: Witango-Talk: 2nd request: file upload, capture name ?
ASAP!


Hello, Ben Johansen! On 9/27/2002 11:13 AM -0700, you wrote in whole or
part:
><SCRIPT language="JavaScript">
><!--
>function getNames()
>{
>document.LoadFiles.TextName.value = document.LoadFiles.text.value;
>document.LoadFiles.LinkDocName.value = document.LoadFiles.linkDoc.value;
>return true;
>}
>-->
></SCRIPT>
>
>Now when you submit the names will be placed in the hidden tags for you
>to reference.


OOPs! this returns the entire path to me. I just need the file names.

Thanks,
Beverly
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to