js中可以document.getElementById("id").options.length = 1;设置

jquery中的设置方法:$("#id option[index!='0']").remove();

还有写关于这些的知识:http://hi.baidu.com/zhangyong0604/item/c715c4cb4d01f31150505831

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
  • 2022-12-23
  • 2022-01-01
  • 2021-10-17
  • 2021-07-11
猜你喜欢
  • 2021-10-24
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案