I have a scrollable element within a page. The arrows and home, end, page up, page down keys do not work on it until I click the element.
How can I activate those keys automatically without clicking when the mouse pointer is inside of the element and deactivate when outside?
On the element in question, I tried:
<div onmouseover="this.focus()">...</div>
but it doesn't work.