- From: <bugzilla@jessica.w3.org>
- Date: Wed, 05 Mar 2014 22:13:18 +0000
- To: public-html-admin@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24949
Bug ID: 24949
Summary: Should 'change' fire for programmatic changes?
Product: HTML WG
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: HTML5 spec
Assignee: dave.null@w3.org
Reporter: travil@microsoft.com
QA Contact: public-html-bugzilla@w3.org
CC: mike@w3.org, public-html-admin@w3.org,
public-html-wg-issue-tracking@w3.org
HI,
I would like to know expected behaviour for below
should 'change' event fire when the text field value is changed
programatically ?
Ex:
<html>
<body>
<input onkeyup="this.value = this.value.toUpperCase()"
onchange="console.log('onchange dispatched');"/>
</body>
</html>
In this case when user updates the value, its get programatically modifed again
due to keyup handler.
I see different behaviour in different browser.
Does change event be fired when programatically changed on specific to keyup
handler.
Thanks in Advance,
Gnana
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 5 March 2014 22:13:20 UTC