$(".enName").each(function(){
if(cnName.length>50){
$(this).on("mouseenter",function(){
$(this).attr("title",cnName);
})
})
})
设置title
function styleCommon(str,len){
$(str).each(function(){
var value=$(this).html();
if(value.length>len){
$(this).html(value.substring(0,len));
$(this).on("mouseenter",function(){
$(this).attr("title",value);
})
}
})
}