我有一组复选框,它们都具有相同的名称但键不同:
<input type="checkbox" id="label-featured" name="labels[featured]" value="1"> <input type="checkbox" id="label-new" name="labels[new]" value="1"> <input type="checkbox" id="label-old" name="labels[old]" value="1"> <input type="checkbox" id="label-promo" name="labels[promo]" value="1">
更改 html 和定位包装器对象不是选项。有没有办法将它们选为一组并循环播放?
一只斗牛犬
相关分类