jQuery(.filter): how to use numerical range instead of .lenght<#?

I am not sure about how I would use a numerical range such as 0 to 159, instead of .length<3. Would greatly appreciate any help.

$(document).ready(function() {
$('TD.green.center').filter( function(){ return $(this).text().length<3; } ) .parent().hide()
});


Source: jquery

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.