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
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: 17 years ago
Resolution: --- → DUPLICATE
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.