First, I used the onKeyUp event to detect input changes in the text box. However, when a user enters a French character using ALT + Num, the event does not detect a change until I enter the next character ...
What event should I use to detect special character changes. I tried onChange but it doesn't seem to work.
I tried to use the onkeypress event because I noticed that it fires it after I issued the ALT key, however, although as soon as the ALT is released, onkeypress fires and you see the accented character, but when I use it. value for the input field, it is registered only before and before entering a new character ALT + Num.
for example: I entered vidé, but the search will not dynamically find vidé, but only vid, because é has not yet been stored in this.value until another key event is raised.
So I was wondering if there is a way to simulate / send a keystroke to trigger it.
source share