//模态窗中增加三件商品go
var chooseThree = [];
$("#group_motai").on("click",".group_recom_add",function(){
console.log(this)
console.log($(this))
chooseThree.push(this.getAttribute("rid"))
console.log(chooseThree)
})
发现on绑定的是后面的.group_recom_add
bind 绑定的是#group_motai