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)

x86
Windows NT
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 53579

People

(Reporter: melste, Assigned: joki)

Details

Attachments

(1 file)

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.
You may need to assign this to joki
Assignee: rods → jkeiser
Attached file Testcase (deleted) —
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.
Definitely a focus/events thing.
Assignee: jkeiser → joki
Status: UNCONFIRMED → NEW
Component: HTML Form Controls → Event Handling
Ever confirmed: true
QA Contact: tpreston → rakeshmishra
*** This bug has been marked as a duplicate of 53579 ***
Status: NEW → 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.

Attachment

General

Created:
Updated:
Size: