D
D
Denis2018-07-26 22:10:27
Internet Explorer
Denis, 2018-07-26 22:10:27

Not working callback on onKeyUp in IE11?

Good evening. Tell me how in IE 11 you can overcome the bug. I have input type="text" and button. While in the text field, I press Tab, while I catch this Tab in the handler, which is called on the onKeyUp event, which in turn I hung on the button. In Chrome and FF everything works fine. That is, in the onKeyUp callback, I see that document.activeElement is a button. In IE 11 I don't get into onKeyUp at all. I can't figure out what the problem is. By the way, these elements are in an iframe. Isn't that the reason for this bug? But then why does everything work in Chrome and FF?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Bobylev, 2018-07-27
@dpigo

The event is normally picked up in IE11
Where do you hang the event handler Outside the iframe or inside? Please provide an example of your code!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question