Answer the question
In order to leave comments, you need to log in
How to unload data from json for multiple elements?
Good time. Faced such task:
There are 25 buttons, when you click on the button, a module window appears with a title and text. It is most logical, of course, to unload this text and title, than to copy 25 modular windows and write a handler for each.
I remembered about json, but a question arose. How to make it so that when you click on the buttons, a text is displayed for each button in the module window?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question