I was able to create a SharePoint list filter as per the steps in this solution. Page a list via A-Z
Now I am trying to highlight the selected letter through CSS (.selected) but not able to achieve it. Tried to add dynamic CSS to selected link $(this).css("color","blue"). Didn't help.
I think the problem is the changes are gone as it refreshes the page. All I want to do is highlight the letter which is selected.