||View All MessagesBack to WebFX|
I have a div with vertical scrollbar contained big content (long table).
I want to select rows when pressing keys "up" & "down" instead of scrolling whole content of the div by default.
I wrote keyhandler to hook the keys but with selecting required rows whole content of the div is scrolling also.
the code :
.... handling the key
event.keyCode = 0;
event.cancelBubble = true;
doesn't take effect. Help me pls!