I have spent time to create a jQuery Virtual Keyboard which it is displaying when the focus is set to Input. I did almost all buttons from keyboard to work, but I had stucked to make function for keys: Arrow Left
and Arrow Right
.
Please people, who knows better jQuery help me to understand how shall I do these functions for Arrow left and Arrow right. Somehow I understand that it is needed to identify the position of cursor in the input field and it is needed somehow to moove it +1 or -1.
The sample details about my virtual keyboard please take a look here.
Solved:
I found the right solution.
The final working SCRIPT is here.