Closed
Bug 798465
Opened 12 years ago
Closed 12 years ago
onchange doesn't happen when onkeyup replace the value of input
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 787102
People
(Reporter: huhufleisch, Unassigned)
Details
(Keywords: js1.5)
User Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.6) Gecko/20120717 Firefox/10.0.6 Build ID: 20120717200345 Steps to reproduce: I have a function in JS that make a mask to an input. This mask it's just a format for brazilian money. It work's well from firefox 4, and now(), at 15 branch, it's doesn't work anymore. Actual results: The event onchange does not fired when I use the event onkeyup to change the value of the input. look the code(it's veeeeeery simple): <input type="text" onkeyup="this.value=this.value+'-';" onchange="alert('change executed');"> Expected results: the event onchange must be fired. At firefox 10, I'm sure that this work, because I have this version on my linux. At Chrome versions 15 to 22, it works too. The problem was found at linux(Fedora) and windows(xp and seven).
Updated•12 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•