两种写法 直接在td表格里将循环带过来的值 添到title 属性里即可 2. jquery 写法 使用$("属性").prop('title',res.XXX) prop()方法是用来设置或返回被选元素的属性和值。 能帮到你的点个赞再走吧