I am trying to raise the keydown and key up events for a textarea html element, I can just set the inner text to the text I want, but the website doesn't seem开发者_如何学Go to acknowledge the text is in there unless I can raise those events. How can I achieve this?
Have you tried using the jquery keyboard events. This is assuming you can use jquery
Here is a demo with keypup:
精彩评论