jquery的多类选择

$(".col-sm-6,.select-table > div:eq(1)").append('<div id=echarts_pie" style="width:500px;height: 340px;margin: 5px auto;">1</div>');

 

 

实例

选取 class 为 "intro"、"demo" 或 "end" 的所有元素:

$(".intro,.demo,.end")
posted @ 2020-11-29 14:07  逝年的我们  阅读(100)  评论(0编辑  收藏  举报