var nodeList = document.querySelectorAll('#danik.js'); var array = Array.prototype.slice.call(nodeList);