Using JS, a dynamic block is created, part of the code:
divtest.innerHTML = '<div class="blockname">'+ '<form action="" method="post">'+ 'Дата рождения'+ '<input type="text" name="birthday[]" id="birthday" class="form-control" data-mask="00/00/0000" placeholder="__/__/____">'+ '</form>'+ '</div>'; Blocks are created, but the mask does not work in them, if you take this code separately on the page (not dynamically), then everything already works in it. What could be wrong? 