Advertisement

04.10.2008 at 06:12PM PDT, ID: 23313878
[x]
Attachment Details

on change event for input type = file

Asked by kevinvw1 in JavaScript, Active Server Pages (ASP), Hypertext Markup Language (HTML)

Tags: html

I have an html form with a file upload field - <input id="File1" type="file"....
and a text field - <input id="Text1" type="text".....

When  a user browses for a file to upload I need to have the value be copied into the text field.
Is there a way I can do this with an onchange event using javascript or vb script?

Thanks.Start Free Trial
[+][-]04.10.2008 at 08:13PM PDT, ID: 21331174

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.10.2008 at 08:37PM PDT, ID: 21331245

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: JavaScript, Active Server Pages (ASP), Hypertext Markup Language (HTML)
Tags: html
Sign Up Now!
Solution Provided By: pratima_mcs
Participating Experts: 4
Solution Grade: A
 
 
[+][-]04.11.2008 at 07:01AM PDT, ID: 21334322

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.11.2008 at 08:29AM PDT, ID: 21335190

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628