chenYanfeng

$("select[name=\'apptype\']").find("option:eq(0)").prop("selected",true);

先找到select,紧接着用find处理元素的后代元素option

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2021-11-19
  • 2021-09-06
  • 2021-10-19
猜你喜欢
  • 2021-11-09
  • 2021-05-24
  • 2021-09-22
  • 2021-08-28
  • 2022-01-07
  • 2021-12-15
  • 2022-01-07
相关资源
相似解决方案