N
N
NinjaSystems2019-12-24 13:49:32
JavaScript
NinjaSystems, 2019-12-24 13:49:32

Lots of modal windows. What are the calling methods?

The site has 7 modal windows. How to write code to call all windows? Writing a method for every modal window class is wrong. Maybe you can make one method with parameters and call it? How it's done?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nadim Zakirov, 2019-12-24
@zkrvndm

That's how it's done, create a function to call a window, passing in the id of the desired window.

D
Dmitry, 2019-12-25
@DimaLondon

Bootstrap 4 uses these windows. See examples .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question