DWQA QuestionsCategory: Development ToolWhen the Keyup event is bound to the input, and then the value value value is changed, flicker occurs
Yan Yuqin asked 3 weeks ago

When the Keyup event is bound to the input and then the value value is changed, flicker occurs图片描述

chekun replied 3 weeks ago

If Keyup is bound, this is the normal effect

2 Answers
ranks answered 3 weeks ago

I don’t think it’s best to use the preven key e to change the event according to the location of the preven key

Why not support numbers answered 3 weeks ago

The Keyup event should not be used for fact change
On property change
For other browsers: oninput

//JQuery code
$("#input").on('input propertychange', ....);