Forum Moderators: open
<form ENCTYPE="multipart/form-data" name = "fileSplit" method = "post">
<input type = "text" name = "text" size = "32">
<INPUT NAME="userfile" TYPE="file">
</form>
I want to copy and paste the text that comes from the browse button into the first textbox automatically with JS. Does anyone know how?
<form ENCTYPE="multipart/form-data" name = "fileSplit" method = "post">
<input type = "text" name = "text" id='text' size = "32">
<INPUT NAME="userfile" TYPE="file" onblur="runMe(this.value)">
</form>
now, this will work, although its functionality is interesting,
In IE, it gives you the full path, firefox just gives you the filename