I think the code is pretty self-explanatory :
 elements = $("input.newEntry:not([name^='counter'])");
    for (e in elements) {
        if (e.css('background-color') == 'rgba(255, 0, 0, 0.6)')
            alert("fire event");
    }
the error i get is e.css() is not a function. can i somehow cast e to a DOM object?
or is there any workaround for what i want to do?
cssmethod.