0
I want to replace <div class="info"></div> on clicking button with another div from external file. How will i do that?
I am using flask framework
1 ответ
+ 1
a way for doing this is using JavaScript!
you can create objects with document.createElement(el),
add properties to it with el.setProperty(property, value)
and add them to your document using document.body.(the destination).appendChild(el).
Or you can use css, with display: none (change the property style using JavaScript)