View Full Version : Call function when key combination is pressed?

10-31-2006, 08:03 PM
I'm wondering whether it's possible to call a function when a key combination is pressed on the keyboard:

something like

function doStuff(keys){
if(keys == 'Ctrl + a'){

} else if(keys = 'Ctrl + U'){

Anyone know if/how this could be done?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum