$(document).ready(function () {
$("td:contains('1')").addClass('isOne');
});
I tried above code, but it also selects 11 or 111 or anything which contains 1.
But I want only the cells having 1 as exact content to be selected
How to do this?
Fiddle : http://jsfiddle.net/nHtvL/2/