Closed Bug 243898 Opened 20 years ago Closed 20 years ago

input type="file" element doesn't handle onchange event

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 67873

People

(Reporter: surkov, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 Firebird/0.7

Element input type="file" should catch onchange event. See
http://www.w3.org/TR/html4/interact/forms.html#h-17.4

Reproducible: Always
Steps to Reproduce:
1. Create new document with: <input type="file" onchange="alert(1)"/>
2. Choose file by "browse" button and press "ok". 

Actual Results:  
You don't see alert message.

Expected Results:  
You should see alert message.
Already fixed.

Please don't file bugs on builds more than 2 weeks old.

*** This bug has been marked as a duplicate of 67873 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: DOM: HTML → DOM: Core & HTML
QA Contact: ian → general
You need to log in before you can comment on or make changes to this bug.