The code works to change the background color.
regionLinks[i].style.backgroundColor = (regionRow === selection[0].row) ? '#ff7700' : null
But I want to change the text color instead of the background color. How can I do that? The html that is manipulated is
'<div data-row="' + i + '"><a class="region" href="/' + data.getValue(i, 0) + '">' + data.getValue(i, 0) + '</a></div>'
My aim is to make the text in the link have the new text color at this change.