Saturday, June 7, 2014

JAVASCRIPT KeyPress Return Modified KeyCode

Streesss.. yup trying to solve a problem, that everytime a user hit single or double quote inside
input or textarea the keyCode should be return ` or `` respectively. Googling and found:
1. Dispatching Custom Event
2. Clever get cursor and insert char Solution

The #2 is my best solution. Also learn new stuf with #1. This is a short article but will found
very useful with the links. Keep coding.

No comments: