Closed Bug 8284 Opened 25 years ago Closed 25 years ago

SELECT onchange fires delayed

Categories

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

x86
Windows 95
defect

Tracking

()

VERIFIED DUPLICATE of bug 3322

People

(Reporter: martin.honnen, Assigned: vidur)

Details

The onchange handler of SELECT element fires only when the element is clicked on
a second time e.g.

<LABEL ID="godLabel" FOR="god">
God:
</LABEL>
<INPUT TYPE="text" NAME="god">
<SELECT NAME="aSelect"
        onchange="alert(event.type);
document.getElementById('godLabel').firstChild.nodeValue =
this.options[this.selectedIndex].value + ': ';"
>
<OPTION VALUE="Kibo">Kibo
<OPTION VALUE="Xibo">Xibo
<OPTION VALUE="Maho">Maho
</SELECT>

does not fire when I select a new option but only when I afterwards click on the
select list again.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Eric, considering the number of DUPs on this bug, I think you need to move this
bug up on your priority list.

*** This bug has been marked as a duplicate of 3322 ***
Status: RESOLVED → VERIFIED
Duplicate of Bug# 3322. Verified.
You need to log in before you can comment on or make changes to this bug.