$('tr').find(need help here).parent().css('backgroundColor', '#fcc');
would like to perform inequality check of two dates (both strings) in the 'need help here' section of the above snippet.
Thanks
$('tr').find(need help here).parent().css('backgroundColor', '#fcc');
would like to perform inequality check of two dates (both strings) in the 'need help here' section of the above snippet.
Thanks
Not one liner but you can put on one line if you want ;)
$('tr').each(function(){
if(new Date($(this).find('td').first().html()) == new Date($(this).find('td').eq(2).html())){
$(this).css('backgroundColor', '#fcc'));
}
})