Closed
Bug 145875
Opened 22 years ago
Closed 22 years ago
changing focus from one input field to another input field using JavaScript does not work with onBlur()
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
People
(Reporter: melste, Assigned: joki)
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)
BuildID: 2002051006
If you lost the Focus of one input field you can not set the focus to another
input field or the same like in IE.
bug is like bug #135616
Reproducible: Always
Steps to Reproduce:
1.create in html <input name='test' onBlur='lfocus();'>
2.create in Javascript:
function lfocus() {document.formular.test.focus();}
3.
Comment 2•22 years ago
|
||
In this testcase, the onBlur handler of both inputs focus the first input.
Neither works in Moz, both work in IE. In IE, when you tab out of the first
input you see the second input being focused and *then* the onBlur handler
focuses the first input.
Comment 3•22 years ago
|
||
Definitely a focus/events thing.
Assignee: jkeiser → joki
Status: UNCONFIRMED → NEW
Component: HTML Form Controls → Event Handling
Ever confirmed: true
QA Contact: tpreston → rakeshmishra
Comment 4•22 years ago
|
||
*** This bug has been marked as a duplicate of 53579 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•22 years ago
|
QA Contact: rakeshmishra → trix
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•