Hello Ranchers ,
I have come across a situation where in i have a textbox with me and i want to use a combination of ALT + P as a shortcut to printout a customized receipt.
I wrote a sample javascript code which captures the keycode for ALT and i wanted to
test if javascript is able to detect that i pressed ALT key , I succeeded in it. I made a small textbox and on its onKeyDown event , i gave a alert saying ALT is Pressed. This is half part , now i want to also include the P part in it , i mean ALT + P , if this combination is used i want to redirect the user to a page saying successfully forwarded.
Can you javascript freaks help me with this ?
Thanks in advance.
Yogendra N Joshi.