How can I get a repeater to be highlighted when clicked, then if I click a different item in the repeater, the new item becomes highlighted and the other highlight removes itself?
I cannot logically get the coding to work to where when I click from repeated item to another repeated item, it removes the highlight of the previous and ONLY keeps the new onClick highlighted. I believe the issue has to do with global vs repeated item scope.
For example, if I have two items and I click item 1, that becomes highlighted. Easy. However, if I click item 2, the scope of the click only affects anything in item 2. So, I cannot remove the highlight on item 1.