¡@

Home 

javascript Programming Glossary: ctrldown

How to detect ctrl+v ,Ctrl+c using Javascript?

http://stackoverflow.com/questions/2903991/how-to-detect-ctrlv-ctrlc-using-javascript

a server side save . document .ready function var ctrlDown false var ctrlKey 17 vKey 86 cKey 67 document .keydown function.. cKey 67 document .keydown function e if e.keyCode ctrlKey ctrlDown true .keyup function e if e.keyCode ctrlKey ctrlDown false.. ctrlDown true .keyup function e if e.keyCode ctrlKey ctrlDown false .no copy paste .keydown function e if ctrlDown e.keyCode..

How to Disable Copy Paste (Browser)

http://stackoverflow.com/questions/9958478/how-to-disable-copy-paste-browser

evt evt evt window.event IE support var c evt.keyCode var ctrlDown evt.ctrlKey evt.metaKey Mac support Check for Alt Gr http en.wikipedia.org.. Check for Alt Gr http en.wikipedia.org wiki AltGr_key if ctrlDown evt.altKey return true Check for ctrl c v and x else if ctrlDown.. evt.altKey return true Check for ctrl c v and x else if ctrlDown c 67 return false c else if ctrlDown c 86 return false v else..