Hi all. I'm in a situation where I'm developing a web application which is housed in a pop-up window, and I need to prevent users from reloading the page by using CTRL-R, or from going to the previous page by using ALT+<- , etc.

I know I can capture the values of the different alphanumeric keys, but I've been unable to find anything which illustrates how to capture the CTRL or ALT keys, and to use them in combination with the rest of the keyboard.

Does anyone have any advice here?

Thanks in advance,
Pablo