jovialjonny
06-09-2003, 05:39 PM
Hi,
I have just added a form to my page of input type "file" like so:
<form>
<input type="file" name="fileSelector" />
</form>
What I want to know is how can I access the content of this input type's textfield?
There is another buton on my page that when the user clicks on it should take the value from that the textfield and use it in some scripting methods. I have tried fileSelector.value but that doesn't seem to work.
I have never used this input type before so I am a little confused. Does anyone know how I can take the filename the user has chosen from this form?
I have just added a form to my page of input type "file" like so:
<form>
<input type="file" name="fileSelector" />
</form>
What I want to know is how can I access the content of this input type's textfield?
There is another buton on my page that when the user clicks on it should take the value from that the textfield and use it in some scripting methods. I have tried fileSelector.value but that doesn't seem to work.
I have never used this input type before so I am a little confused. Does anyone know how I can take the filename the user has chosen from this form?