I am writing a memory cards game and faced a problem.
When I click on card, I want it to flip.
In a script I want to GetElementById, but I don't know where to get this id, or how to assign an id to the container where the card is?
Thanks.
You must name the element, and then you can assign it to the javascript with an input parameter, the id
When inside the javascript block, create an input parameter to pass the element identifier.
Thank you for your quick answer, Márcio