$('.card-option').on("click",function () {
$('.select').html(this);
});html单击card—option时将select里的内容替换,但之后card-option就不显示了,怎么让它依然显示呢
1 回答

森栏
TA贡献1810条经验 获得超5个赞
哦,我刚才没看清楚。你就是想要替换.card-select
图片和其他标签内容的是不?你试试看行不行
$('.card-option').on("click",function () { var _html = $(this).html(); $('.select').html(_html); });
添加回答
举报
0/150
提交
取消