Menu
?
I am using the following HTML in the hopes of allowing the user to use a Open File Dialog to select a file and putting the file name in the text box:
[CODE]<Input type=”text” size=”100″ maxlength=”150″ name=”Player” value=”Default”>
<input type=”file” name=”FileDialog” size=”100″ onchange=”this.form.elements.Player.value = this.value”>
The problem is that the user is shown two text boxes. I tried just using the <input type=”file” but I couldn’t put a current value in it’s text box.
Is there a way to use javascript to open the file open dialog and return the file name from a button onclick event?