var products=[{ID:1,Name:"HDMI线1.4版本1.5m",Price:44},{ID:2,Name:"HDMI线1.4版本2.5m",Price:54},{ID:3,Name:"HDMI线1.4版本3.5m",Price:64},{ID:1,Name:"HDMI线1.4版本4.5m",Price:74},{ID:4,Name:"HDMI线1.4版本5.5m",Price:84}];
//绑定
$(products).each(function(i){ $("table[id='add_info']").append("<tr class='change'><td>"+this.ID+"</td><td>"+this.Name+"</td><td>"+this.Prices+"</td></tr>")})
为什么添加不进table