onChange is called only when the element loses focus

前端 未结 2 530
余生分开走
余生分开走 2021-01-16 23:21

I want that as you type in the textfield the div changes (I have the code for changing the div already). However the onchange event is only called once you are finished and

2条回答
提交回复
热议问题