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")
春有百花秋有月,夏有凉风冬有雪!
$(".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" 的所有元素: