<form action="/search" method="get" novalidate>
outputExistTags: function(msg, callback) {
.............some code.................
***********************************
for (var i = 0; i < tagsId.length; i++) {
var itemList = document.querySelector('[data-target="' + tagsId[i] + '"]');
itemList.removeEventListener('click', callback);
itemList.classList.add('tvz-disable');
console.log(itemList);
}
}
}
[0,1,2,3].forEach(function(item, index){
setTimeout(function(){
console.log(index)
}, 0)
})