油猴突显SVN标记

var d = new Date();
var re = new RegExp(d.getFullYear()+"-0?"+(d.getMonth()+1)+"-0?"+d.getDate());
$.each($('table:eq(1) tr'),function(i){
    var ctime = '';
    ctime = $(this).children('td').eq(6).text();
    if (re.test(ctime))
    {
        $(this).css('background-color','green');
    }
});

 

posted @ 2013-01-06 12:05  aboys  阅读(107)  评论(0编辑  收藏  举报