Hi,
I am using the onkeypress event in a select list and have no problem catching keys from in main keyboard, however, I would like to capture the down arrow, but I don't seem to be able to do that with the onkeypress.
My goal is, as a list is scrolled, I would like to display using window.createPopup() more detailed information about the current item in the list. When I use the onkeypress I am able to do it, providing i press within the main keyboard, but since people are gonna scroll using the down arrow, I need to catch that key press. As a test I just did onkeypress="alert(event.keyCode)" just to see if I can read the key, the alert does not occur on the down arrow press.
Does anyone know if this is possible ..
thanks
niblet
I am using the onkeypress event in a select list and have no problem catching keys from in main keyboard, however, I would like to capture the down arrow, but I don't seem to be able to do that with the onkeypress.
My goal is, as a list is scrolled, I would like to display using window.createPopup() more detailed information about the current item in the list. When I use the onkeypress I am able to do it, providing i press within the main keyboard, but since people are gonna scroll using the down arrow, I need to catch that key press. As a test I just did onkeypress="alert(event.keyCode)" just to see if I can read the key, the alert does not occur on the down arrow press.
Does anyone know if this is possible ..
thanks
niblet