How could I get the sub element by using an existed jQuery object ?
已经有了#pTest的对象,怎样通过它来得到其他的元素?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
子元素用 children 方法,后代元素用 find 方法
用children方法,然后就可以增加其他选择器了,时间长了有点生疏了。
http://api.jquery.com/children/
http://api.jquery.com/next/
http://api.jquery.com/categor...
http://www.runoob.com/jquery/...
http://www.runoob.com/jquery/...
http://www.runoob.com/jquery/...
http://www.runoob.com/jquery/...
.find()