//1.获取要高亮显示的行
var rowNode = $('.highlightRow');
//2.获取搜索的内容
var searchContent = $("#searchContent").val();
//3.遍历整行内容,添加高亮颜色
rowNode.each(function() {
var word = $(this).html();
word = word.replace(searchContent, '<span style="color:red;">' + searchContent + '</span>');
$(this).html(word);
});