如何根据输入的数量将突出显示类(以指示客户有资格获得哪个价格区间)添加到列表项?改变?
<ul class="list-group">
<li class="list-group-item highlight">Less than 10 <span class="pull-right">$34.50</span></li>
<li class="list-group-item">10 to 40 <span class="pull-right">$34.50</span></li>
<li class="list-group-item">40+ <span class="pull-right">$34.50</span></li>
</ul>
<input type="text" placeholder="Quantity">