[].forEach.call( document.querySelectorAll('.answers'), function(el,i) { if(el.name == "false") { } else {}; });