I'm looking to change the link of the other link when they are clicked. So example if user clicks A-Z it would change the colour of 0-9.
<a href="" id="list_users_title" onclick="document.getElementById('oneline a').style.color = '#414042'; document.getElementById('list_users_title a').style.color = '#B91200';">A-Z</a>
<a href="" id="oneline" onclick="document.getElementById('oneline a').style.color = '#B91200'; document.getElementById('list_users_title a').style.color = '#414042';">0-9</a>
I can do it with the colour however this overrides the a:hover which I still would like to use.
Any help would be appreciated