I needed to trigger a keyup event manually. I could only find implementations that involved jQuery. Is there any way to do it with plain JavaScript?
-
3Yes, google "diapatch event mdn".Tomáš Zato– Tomáš Zato2020-09-16 07:42:09 +00:00Commented Sep 16, 2020 at 7:42
-
@TomášZato-ReinstateMonica thanksedddd– edddd2020-09-16 07:43:19 +00:00Commented Sep 16, 2020 at 7:43
Add a comment
|
2 Answers
You can see this > https://www.cnblogs.com/xiaozhuyuan/p/8296827.html you can find the answer for your problem