narmi2
asked on
div tag item select
If I have a div tag with some text listed in it i.e.
<div>
list 1<br />
list 2<br />
list 3<br />
list 4<br />
list 5<br />
</div>
If I have an input type="text" tag above the div tag i.e.
<input type="text">
<div>
list 1<br />
list 2<br />
list 3<br />
list 4<br />
list 5<br />
</div>
how can I use the keyboard arrow keys (up and down) to select the list items in the div tag and have the text appear in the input type="text" box, depending on which item is currently selected?
<div>
list 1<br />
list 2<br />
list 3<br />
list 4<br />
list 5<br />
</div>
If I have an input type="text" tag above the div tag i.e.
<input type="text">
<div>
list 1<br />
list 2<br />
list 3<br />
list 4<br />
list 5<br />
</div>
how can I use the keyboard arrow keys (up and down) to select the list items in the div tag and have the text appear in the input type="text" box, depending on which item is currently selected?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
https://www.experts-exchange.com/questions/22753389/div-tag-item-select-part-2.html