3 ms·
So in the first modal example, the document contains both dialog windows at the same time. Is that really what you want? Does that properly describe the conten
by IanCal 10y ago
So in the first modal example, the document contains both dialog windows at the same time.
Is that really what you want? Does that properly describe the content of your document?
- Kiro 10y agoHow else would you do it, even in JavaScript?
- WickyNilliams 10y agoAdd modal to DOM as and when needed
- IanCal 10y agoAdd it to the document when it's needed, and remove it from the document when it's not.