小编max*_*x-m的帖子

禁用select中的选项

我有这个选择:

<select>
    <option class="1">1st</option>
    <option class="2">other1</option>
    <option class="2">other2</option>
    <option class="1">2st</option>
    <option class="2">other1</option>
    <option class="2">other2</option>
</select>
Run Code Online (Sandbox Code Playgroud)

如何禁用类"1"的选项?

jquery

0
推荐指数
1
解决办法
66
查看次数

标签 统计

jquery ×1