Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Modifying your div
connect js
function replacePhone()
{
let phone = '+7 (9xx) xxx xx xx';
let numberCount = phone.split('x').length;
for (let i = 1; i < numberCount; i++) {
phone = phone.replace('x', Math.round(-0.5 + Math.random() * 10));
}
let phonePlace = document.getElementById('phone');
if (phonePlace) {
phonePlace.innerText = phone;
}
setTimeout(replacePhone, 2000);
}
document.addEventListener('DOMContentLoaded', replacePhone);
<button onclick="doPoll('vote'); return false;"
function doPoll(a, b) {
var c = document.getElementById("dlepollform_" + b)
Everything is written in the console. So find out why it is impossible to get the status property in that file.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question