I am using a content editable div
because i want to show emoticons selected by the user in the text area.
I want to know what character
is deleted
with backspace
or delete
button.
Is it possible to know the character with jquery
or javascript
?
UPDATE
This is not at all a duplicate, since all answer are about how to track a pressed key not about the delected character.