Create keyboard function

I would like to create customized keys that that I could use in my jsp application that would perform functions of highlighting and hiting cntrl "c"

for example: (any combination of keys would be acceptabe
cntrl & alt & "e" then the email adress would be copied
cntrl & alt & "p" then the phone number would be copied
cntrl & alt & "f" then the fax number would be copied


LVL 3
gazdzidAsked:
Who is Participating?
 
contactkarthiConnect With a Mentor Commented:
here is a starting page for your question

http://www.openjs.com/scripts/events/keyboard_shortcuts/

all you have to do is once the key is pressed in the function focus on the textbox select all the text and initiate the control + c function after that.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.