S
Simon
How can i divide a string using javascript?
For example, i've got a textfield named "attach1", the value is: "
C:\Documents and Settings\Simon\Mijn documenten\calendaroptie.txt
"
So in javascript i start with:
var chk=document.TE.attach1.value
var filename= ?
Where filename must get the value of the last "slash" (calendaroptie.txt)
How do I do that?
Thanks,
Simon
For example, i've got a textfield named "attach1", the value is: "
C:\Documents and Settings\Simon\Mijn documenten\calendaroptie.txt
"
So in javascript i start with:
var chk=document.TE.attach1.value
var filename= ?
Where filename must get the value of the last "slash" (calendaroptie.txt)
How do I do that?
Thanks,
Simon