<div class="option-combo department">
<span class="label_menu">Department:</span>
<ul id="filters" class="option-set clearfix" data-option-key="filter">
<li class="department-button"><a href="#" id="all" data-option-value=":not(.comm)">All</a></li>
<li class="department-button"><a href="#" id="sales" data-option-value=".sales:not(.comm)">Sales</a></li>
<li class="department-button"><a href="#" id="market" data-option-value=".market:not(.comm)">Marketing</a></li>
<li class="department-button"><a href="#" id="training" data-option-value=".training:not(.comm)">Training</a></li>
<li class="department-button"><a href="#" data-option-value=".comm">Communications</a></li>
</ul>
</div>
我想獲取活動列表項屬性data-option-value並將其添加到通用data-option-value中Javascript獲取激活的菜單項數據選項值並將其放入VAR
我使用同位素
牛女孩遇險! – codrrgurl84