Have Javascript insert a backspace within ContentEditable Div.

Posted by DavidR on Stack Overflow See other posts from Stack Overflow or by DavidR
Published on 2010-05-31T23:42:55Z Indexed on 2010/06/01 0:13 UTC
Read the original article Hit count: 299

Filed under:

An odd request, I know. I want Javascript to pretend the user just pressed the backspace.

That's all I really want, if you want more info: My last topic here, gives more explaination. In short: I press a key, javascript converts the key to the greek equivalent, then puts that key in instead. The problem is, when onKeyUp is activated, it starts a function which looks for combinable character pairs put together (for accents) and inserts that key.

© Stack Overflow or respective owner

Related posts about JavaScript