Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Emulating a "pushkey" command upon mouse click

Status
Not open for further replies.

southbeach

Programmer
Jan 22, 2008
879
US
I am getting started on writing a POS application. I intend to use PHP, JS, CSS, HTML5, etc ... so that it can be deployed online at a very minimal cost.

I am working on what would be the keyboard on the touch screen. This is a mapped image. I intend to or figure that by mapping the image, I can place a trigger behind each key. So, imagine a text box and a mapped image, the image is up and the user touches any key on the keyboard (a-z, 0-9, back space, RETURN, space bar, etc); I am looking for a way to emulate the pushing of chosen key on an actual keyboard.

How can I push a key using javascript?

If I cannot push a key, I would then have to deal with parsing text box, editing content based on cursor position within the box and pushing the edited content back to the text box. a lot more work this way ...

Thank you all in advance for your assistance!


--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top