删除 option 在 firefox 是 select.remove(selectedIndex),而不是 select.options.remove()
输出 option.innerText 在 firefox 下用 options.textContent(firefox没有innerText,就是用textContent 来替代的)
firefox 中对 select option 操作
最新推荐文章于 2024-05-27 06:52:04 发布
删除 option 在 firefox 是 select.remove(selectedIndex),而不是 select.options.remove()
输出 option.innerText 在 firefox 下用 options.textContent(firefox没有innerText,就是用textContent 来替代的)