I am facing an issue with two listboxes on my website. Currently, I can only highlight one item at a time by mousing over the listbox. However, I would like to be able to highlight items in both listboxes simultaneously when I mouseover either listbox1 or listbox2.
Here is the current behavior: https://i.stack.imgur.com/SJKMh.png
My desired outcome is for the first item in both listbox1 and listbox2 to be highlighted when I hover over them.
After spending hours researching solutions without success, I found that none of the methods I tried worked for me. As I am not well-versed in jQuery or JavaScript, I would prefer a solution that utilizes C# or CSS.
Similarly, I would like to be able to select a row by clicking on either listbox1 or listbox2.
Unfortunately, the code snippets I attempted did not produce the desired results, so I have reached out here for assistance. Any help would be greatly appreciated as I have already dedicated significant time to resolving this issue before seeking guidance from experts like yourselves.
If memory serves me right, I may have experimented with the following code:
select option: hover{
color: pink
}
Or possibly something like:
select option: ListBox1 : hover {
At this point, my recollection is hazy but none of the aforementioned codes seemed to achieve the intended functionality.