It's little hard to explain problem, so better to show example.
Code automatically replaced Latin alphabet to Armenian. In FF/Chrome/Opera it works great. In IE almost too. BUT if you select some text an try to write, typed character is replacing previous.
I tried
document.selection.empty();
but it doesn't help.
Do you know any method to reset/empty selection and leave cursor in same place in IE?
Thanks!