Posts by Vinicius_o_programador • 1 point
1 post
-
0
votes1
answer46
viewsQ: How to add multiple divs to HTML with javascript without replacing already created ones
// js code, when I add twice or more only the last div is created function Adicionar (nome) { window.onload = init; function init(){ new CriarElementos(); function CriarElementos() { var NovaDiv =…