Proved a class name to that container in appearance tab.
in JS use document.getElementsByClassName instead of TagName
hope it will be helpful for you.
Hi Ivo and Javith. I added a class name to the container (“justa”) and wrote the code below. It works but I got some errors.
But actually I think that dynamic classes would fit properly for me. I want to select a card in the list above and apply a class, highlighting the selected container. I have an entity called PaymentType, with an attribute called WasSelected(boolean). I created two classes inside visual studio(teste2 and teste3):
How can I apply these dynamic classes? I tried Tim’s suggestion but I guess I don’t got it. I would be grateful if you could help me one more time. Thanks in advance!