安科网
源代码:
点击运行
This is a div element. My child is:
In this example, $("div").children will only return P, and not P + SPAN, because children() only traverse a single level down the DOM tree.
运行结果
Copyright © 2013 - 2019 Ancii.com All Rights Reserved
京ICP备18063983号-5
京公网安备11010802014868号