Closed Bug 149680 Opened 22 years ago Closed 22 years ago

onfocus event for input type="file"

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 4033

People

(Reporter: ben, Assigned: joki)

References

()

Details

The onfocus event for a form input field where type is set to "file" does not appear to work. The URL above has an example with two identical forms. In the first example the input fields are both type "text" and the onfocus event works as expected. In the second example one of the input fields is type "file" and the onfocus event does not appear to work. Have tested on RC3 and 1.0 on Win2K with the same results under each version. I have not tested on other platforms. No errors appear in the JS Console. I was unable to find other bug submissions that relate to this.
Browser, not engine ---> Event Handling
Assignee: rogerl → joki
Component: JavaScript Engine → Event Handling
QA Contact: pschwartau → rakeshmishra
I see the same thing with Mozilla 2002060408/WinNT. When the "Browse..." button from the <input type="file"> gets focus, the onfocus event is fired, but not when the textbox part of the <input type="file"> gets focus.
*** This bug has been marked as a duplicate of 4033 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
QA Contact: rakeshmishra → trix
verifying dupe
Status: RESOLVED → VERIFIED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.