I was creating a simple select box in jQuery
. Everything is fine except its scrolling
.
I need to set the UL
height with overflow
, so that i can have a scrollbar.
Please see the jsfiddle : HERE
On the jsFiddle you can see that onKeyDown
( keyBoard down arrow ) selection will move down.
But after its height
limit its not automatically scrolling down.
Looks like i am doing something wrong, Please help me.
Thanks.
UPDATE :
Guys, Please understand that the given example fiddle is just an example only. The Actual one differ.I updated my fiddle.