JavaScript
- 6 ответов
- 0 вопросов
3
Вклад в тег
function addInputs() {
let skier = document.getElementsByClassName("skier")[0]
newSkier = skier.cloneNode(true)
let container = document.getElementsByClassName("special-modal")[0]
let cbform = document.getElementsByClassName("cbform-item")[0]
container.insertBefore(newSkier, cbform)
}
onclick="addInputs()"