1. 子元素:
$().children('选择器') 如选择type为file的子元素 $(this).children("input[type=file]")
或者
$("#p >s")
2. 后代元素
$().children('选择器') 如选择type为file的所有后代元素 $(this).find("input[type=file]")
或者
$("#p s")
1. 子元素:
$().children('选择器') 如选择type为file的子元素 $(this).children("input[type=file]")
或者
$("#p >s")
2. 后代元素
$().children('选择器') 如选择type为file的所有后代元素 $(this).find("input[type=file]")
或者
$("#p s")
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。