Answer the question
In order to leave comments, you need to log in
How to make a dynamic modal window?
Hello.
There are a lot of modal windows on the site (they are all the same in format, only the data in them changes).
They are directly embedded in the HTML code using bootstrap (library modal.js).
How to make the modal window dynamically formed from the parameters passed to it, for example, I often saw such a method of transferring content on sites data-name_parametr.
What do you suggest?
Answer the question
In order to leave comments, you need to log in
создаешь модалку через js https://jsfiddle.net/vh88u4uh/ и кидаешь туда контент какой хочешь через json
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question