w10234

1. 子元素:

$().children(\'选择器\')  如选择type为file的子元素  $(this).children("input[type=file]")

或者

$("#p >s")

 

2. 后代元素

 

$().children(\'选择器\')  如选择type为file的所有后代元素  $(this).find("input[type=file]")

或者

$("#p s")

分类:

技术点:

相关文章:

  • 2021-11-22
  • 2021-10-18
  • 2021-07-25
  • 2022-12-23
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-22
相关资源
相似解决方案