:missing Download jquery.missing.js

Example:

One Two Three Four Five Six

In the demo above you can see that I've selected all elements that do not have the letter 'e' in their text and added a yellow background.
Back to Article

Code:

jQuery(function($){
	
	$(".demo span:missing('e')").css({'background':'yellow'});		
		  				
});