Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In my project, https://codepen.io/Hio3966/pen/poepGEe[^] I have a list set up. Using up and down arrow keys will select a item on that list. I want to be able to use the enter key to select the highlighted item. For example, the item is a link, when I press the the enter key I want it to activate that link. I also would like to utilize the left and right arrow keys, I want list items to the sides of the original list so that I can move the highlight to the left or right. Can this be done?

What I have tried:

I have tried searching on almost every known search engine and haven't found anything to help me.
Posted
Updated 29-Jun-22 5:09am
v3
Comments
gggustafson 29-Jun-22 11:36am    
Are you specifically targeting a non-mouse solution?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900