I\'m wondering how to select an element that does not have a specific class using JavaScript, not jQuery.
For example, I have this list:
Try getting an array of the parent's children instead:
var completeTask = document.querySelector("#tasks").childNodes;
Then loop/search them as necessary.