Caveat: I'm not a developer, I'm a designer.
From this answer I learned of the :contains() selector.
I used this selector like this:
jQuery(document).ready(function() {
jQuery("td:contains('No')").css("background-color", "#FFBFBF");
});
However, this selects td cells containing Not, which I don't want to happen.
I found there is a .filter() selector from this answer, but I'm not a programmer, and do not understand how to apply .filter() to my jQuery code, so I'm wondering if there is something that functions like an is() or equals() selector?
Aucun commentaire:
Enregistrer un commentaire