用bootstrap table添加了json的数据 页面上没有td
我现在将td的属性设为了
td{
overflow: hidden;
text-overflow:ellipsis;
white-space:nowrap
}
现在因为超出部分也想显示,用js设置td 内容给title
$("#design_table td").each(function(){
$(this).mouseover(function(){
$(this).attr("title", $(this).text());
$(this).css("background-color","yellow");
});
});
}
但是根本没有tbody和td 这怎么办