Highlight row by cell value

    $(document).ready(function(){
                $('#DataObject1 tr td').each(function(){
			if ($(this).text() == 'MyValue' ) {
				$(this).parent().css('background-color','#FFCC99');
			}
		}); 
    });
programming/jquery/highlightrowbycellvalue.txt · Last modified: 2018-06-21 19:48 (external edit)
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0