quadrant6
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'){
doThis();
} else if(keys = 'Ctrl + U'){
doThat();
}
}
Anyone know if/how this could be done?
something like
function doStuff(keys){
if(keys == 'Ctrl + a'){
doThis();
} else if(keys = 'Ctrl + U'){
doThat();
}
}
Anyone know if/how this could be done?