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刪除。