I have a Div Tag which contains 4 child Div Tags
<Div id='Parent'> <div id='childOne'>ChildOne </div> <div id='childOne'>ChildTwo </div> <div id='childOne'>ChildThree </div> <div id='childOne'>ChildFour </div> </Div>
Now I would like to access these Child Div’s using up and Down Arrow Keys through Javascript The above div is show on click of a TextBox.I want that the user can choose any of the child div and its selected value appears in the TextBox. I have acheived the end result by attachinh onClick event to each childDiv.
Are you looking for what is known as auto-completion or suggestions?