I want to replace a keycode captured by onkeypress event with unicode string.
I want to replace that keycode with other unicode string and output that unicode string to display;
If I press 'u'key and get keycode '85' but i want to output other unicode points insteat of 'u'.
Thanks.
User Profile
Collapse
-
How to replace captured keycode with unicode string?
-
Sithu Thwin started a topic How to detect a textarea and insert onKeyPress into that textarea using javascript?in JavascriptHow to detect a textarea and insert onKeyPress into that textarea using javascript?
I would like to detect a textarea in a form using javascript. And insert onkeypress into that textarea.
I do no want to change original html code for textarea.
I just want to add <script> tag in header section of a page and that <script> tag detect textarea in that page and insert onkeypress event into textarea
Thanks.
No activity results to display
Show More