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.

Comments

Popular posts from this blog

Arduino RFID, RC522, VUSB HID as Keyboard

CakePHP Captcha component with Securimage

Codeigniter Oracle Transaction BUG