I've got a dynamic list and when I click a radio button I want one of the other parameters to get stored in a local variable so I can use it later on. The value I'm looking to store is teamId. I've got this JS for when I click the radio button but doesn't work :/
code var teamID = $(this).value('@teamId');
localStorage.setItem('team', teamID); /code
If I do a mapping the mapper will always select the bottom value, in my case 20 or 40, and won't return the one that's actually clicked, say 3,4,5,...