I'm getting user's profile picture along with their name from database and populating them in a div inside an anchor tag. The <a> tag is used so that we can click on any result and it takes to that user's profile page. I tried many codes to traverse the search results using arrow keys but useless.

So, I have one <a><div>prof pic & name</div></a> for each search result. he entire search results are then placed in a big <div>. How can i proceed to select the results using only arrow keys??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.