You can use input and chagne, probably the timing of triggering is different http://jsrun.net/7UYKp
When using input in IE, propertychange must be added to avoid incompatibility. Then there is another way is data binding. The general solution is to have an object with getter and setter methods, and then change the object when inputting, trigger the setter and then change all the associated ones.
You can use input and chagne, probably the timing of triggering is different http://jsrun.net/7UYKp
When using input in IE, propertychange must be added to avoid incompatibility. Then there is another way is data binding. The general solution is to have an object with getter and setter methods, and then change the object when inputting, trigger the setter and then change all the associated ones.
Bind the onChange event to the input, and modify the value of another input in the onChange event
Just add dom to the onchange function. Just define it yourself for specific needs
Just use onchange
Use change event
$('#input1').bind('input propertychange', function() {
});