<form method="post" action="somewhere">
  <input type="text" name="filename">
<input type="file" name="file" onchange="this.form.filename.value = this.value">
</form>

Seems to work on IE6 and Firefox, haven't tried IE7. Opera only shows the filename, not the full path.

Martin

On Mon, 09 Oct 2006 03:56:12 +0200, Peter Dawn <[EMAIL PROTECTED]> wrote:

guys,

if i implement the browse button within my web app using,
<input type="file"> it generates the textfield and the browse button together.

now my problem is that this breaks my current implementation in which
i have a <input type="@TextField" etc etc/> which i am using to read
the input on form submit.

so if i implement the browse button, how can i capture the input using
still the textfield component.

any help pls. thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to