Closed
Bug 231712
Opened 22 years ago
Closed 22 years ago
select: onchange doesn't run if you change the value with the keybord but runs with the mouse
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 126379
People
(Reporter: vromman.laurent, Unassigned)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461)
Build Identifier: "Firebird/0.7"
I use a html code like this one. If i change the value of "mois" with the
mouse, check_date runs. If i change it with the keyboard, it doesn't.
<script type="text/javascript"><!--
function check_date()
{
//some commands
}
//-->
</script>
<form>
<select name="mois" onchange="check_date()">
<option value="01">...</option>
<option value="02">...</option>
</select>
</form>
Reproducible: Always
Steps to Reproduce:
1.Load a similar page
2.Try to mofify mois with the keyboard
Actual Results:
The function doesn't run in the second case
Expected Results:
Mozilla should have run the script in each case
Comment 1•22 years ago
|
||
onchange should fire when the <select> loses focus. does it?
Comment 2•22 years ago
|
||
Dupe of 126379.
Comment 3•22 years ago
|
||
*** This bug has been marked as a duplicate of 126379 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•7 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
•