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
|
|